* [patch] IB/qib: fix a do nothing for loop
@ 2015-02-20 10:56 ` Dan Carpenter
0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2015-02-20 10:56 UTC (permalink / raw)
To: Mike Marciniszyn
Cc: Roland Dreier, Sean Hefty, Hal Rosenstock,
linux-rdma-u79uwXL29TY76Z2rM5mHXA,
kernel-janitors-u79uwXL29TY76Z2rM5mHXA
We accidentally deleted a semi-colon here and changed this do-nothing
loop into a do-something loop.
Fixes: ff93905fb92d ('IB/qib: Fix checkpatch warnings')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/infiniband/hw/qib/qib_wc_x86_64.c b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
index 4fcf2459..81b225f 100644
--- a/drivers/infiniband/hw/qib/qib_wc_x86_64.c
+++ b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
@@ -92,7 +92,7 @@ int qib_enable_wc(struct qib_devdata *dd)
}
for (bits = 0; !(piolen & (1ULL << bits)); bits++)
- /* do nothing */
+ ; /* do nothing */
if (piolen != (1ULL << bits)) {
piolen >>= bits;
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [patch] IB/qib: fix a do nothing for loop
@ 2015-02-20 10:56 ` Dan Carpenter
0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2015-02-20 10:56 UTC (permalink / raw)
To: Mike Marciniszyn
Cc: Roland Dreier, Sean Hefty, Hal Rosenstock,
linux-rdma-u79uwXL29TY76Z2rM5mHXA,
kernel-janitors-u79uwXL29TY76Z2rM5mHXA
We accidentally deleted a semi-colon here and changed this do-nothing
loop into a do-something loop.
Fixes: ff93905fb92d ('IB/qib: Fix checkpatch warnings')
Signed-off-by: Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
diff --git a/drivers/infiniband/hw/qib/qib_wc_x86_64.c b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
index 4fcf2459..81b225f 100644
--- a/drivers/infiniband/hw/qib/qib_wc_x86_64.c
+++ b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
@@ -92,7 +92,7 @@ int qib_enable_wc(struct qib_devdata *dd)
}
for (bits = 0; !(piolen & (1ULL << bits)); bits++)
- /* do nothing */
+ ; /* do nothing */
if (piolen != (1ULL << bits)) {
piolen >>= bits;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [patch] IB/qib: fix a do nothing for loop
2015-02-20 10:56 ` Dan Carpenter
@ 2015-02-20 17:04 ` Roland Dreier
-1 siblings, 0 replies; 4+ messages in thread
From: Roland Dreier @ 2015-02-20 17:04 UTC (permalink / raw)
To: Dan Carpenter
Cc: Mike Marciniszyn, Sean Hefty, Hal Rosenstock,
linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org
On Fri, Feb 20, 2015 at 2:56 AM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> We accidentally deleted a semi-colon here and changed this do-nothing
> loop into a do-something loop.
Thanks! I folded this into the original "cleanup" patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] IB/qib: fix a do nothing for loop
@ 2015-02-20 17:04 ` Roland Dreier
0 siblings, 0 replies; 4+ messages in thread
From: Roland Dreier @ 2015-02-20 17:04 UTC (permalink / raw)
To: Dan Carpenter
Cc: Mike Marciniszyn, Sean Hefty, Hal Rosenstock,
linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org
On Fri, Feb 20, 2015 at 2:56 AM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> We accidentally deleted a semi-colon here and changed this do-nothing
> loop into a do-something loop.
Thanks! I folded this into the original "cleanup" patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-20 17:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-20 10:56 [patch] IB/qib: fix a do nothing for loop Dan Carpenter
2015-02-20 10:56 ` Dan Carpenter
2015-02-20 17:04 ` Roland Dreier
2015-02-20 17:04 ` Roland Dreier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.