From: Bart Van Assche <Bart.VanAssche-Sjgp3cTcYWE@public.gmane.org>
To: "BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org"
<BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org"
<swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
Subject: Re: [PATCH 0/1] Request for Comments on SoftiWarp
Date: Fri, 6 Oct 2017 15:27:47 +0000 [thread overview]
Message-ID: <1507303666.2602.5.camel@wdc.com> (raw)
In-Reply-To: <OFAD8C5230.833C37A3-ON002581B1.00442FF3-C12581B1.00445387-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
On Fri, 2017-10-06 at 14:26 +0200, Bernard Metzler wrote:
> Sorry. Yes, done now, will resend!
Hello Bernard,
On Linux kernel mailing lists it is expected that replies are posted below the
original e-mail instead of above. Please follow that style.
Another convention you may not be aware of is that every cover letter for v2 and
later versions of a patch series is expected to include a changelog that explains
what changes have been made in each version.
Regarding checkpatch and the soft-iWarp driver, checkpatch still reports a large
number of complaints against v2 of which I think most are easy to address. A few
examples:
WARNING: 'vaild' may be misspelled - perhaps 'valid'?
#1281: FILE: drivers/infiniband/sw/siw/siw_verbs.c:1052:
+ /* make SQE only vaild after completely written */
ERROR: trailing whitespace
#2422: FILE: include/uapi/rdma/siw_user.h:133:
+enum siw_wqe_flags { $
Please also make yourself familiar with the static analyzer called 'sparse'. That
static analyzer reports a large number of complaints about the soft-iWarp driver,
complaints of which I think these should be addressed. A few examples:
$ make M=drivers/infiniband/sw/siw C=2
[ ... ]
drivers/infiniband/sw/siw/siw_cm.c:207:6: warning: symbol 'siw_sk_assign_rtr_upcalls' was not declared. Should it be static?
drivers/infiniband/sw/siw/siw_cm.c:464:23: warning: incorrect type in assignment (different base types)
drivers/infiniband/sw/siw/siw_cm.c:464:23: expected restricted __be32 [addressable] [usertype] term_ctrl
drivers/infiniband/sw/siw/siw_cm.c:464:23: got unsigned int
drivers/infiniband/sw/siw/siw_cm.c:466:25: warning: cast from restricted __be32
drivers/infiniband/sw/siw/siw_cm.c:466:25: warning: incorrect type in argument 1 (different base types)
drivers/infiniband/sw/siw/siw_cm.c:466:25: expected unsigned int [unsigned] [usertype] val
drivers/infiniband/sw/siw/siw_cm.c:466:25: got restricted __be32 [addressable] [usertype] term_ctrl
[ ... ]
Thanks,
Bart.
next prev parent reply other threads:[~2017-10-06 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 13:26 [PATCH 0/1] Request for Comments on SoftiWarp Bernard Metzler
[not found] ` <20171005132659.25930-1-bmt-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org>
2017-10-05 13:26 ` [PATCH 1/1] Adding SoftiWarp to the RDMA subsystem Bernard Metzler
2017-10-05 17:56 ` [PATCH 0/1] Request for Comments on SoftiWarp Steve Wise
[not found] ` <c948ef76-8007-7fa4-8899-c3cbbafead86-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2017-10-05 18:19 ` Bart Van Assche
[not found] ` <OFAD8C5230.833C37A3-ON002581B1.00442FF3-C12581B1.00445387@notes.na.collabserv.com>
[not found] ` <OFAD8C5230.833C37A3-ON002581B1.00442FF3-C12581B1.00445387-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
2017-10-06 15:27 ` Bart Van Assche [this message]
[not found] ` <1507303666.2602.5.camel-Sjgp3cTcYWE@public.gmane.org>
2017-10-14 0:54 ` Bernard Metzler
2017-10-06 4:54 ` Leon Romanovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507303666.2602.5.camel@wdc.com \
--to=bart.vanassche-sjgp3ctcywe@public.gmane.org \
--cc=BMT-OA+xvbQnYDHMbYB6QlFGEg@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox