All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: remove unnecessary trailing '\'
@ 2021-12-22 21:52 Keith Busch
  2021-12-22 23:57 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Busch @ 2021-12-22 21:52 UTC (permalink / raw)
  To: linux-block, axboe; +Cc: Keith Busch

While harmless, the blank line is certainly not intended to be part of
the rq_list_for_each() macro. Remove it.

Signed-off-by: Keith Busch <kbusch@kernel.org>
---
 include/linux/blkdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index bb5fb7282e6e..22746b2d6825 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1363,7 +1363,7 @@ struct io_comp_batch {
 })
 
 #define rq_list_for_each(listptr, pos)			\
-	for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos)) \
+	for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos))
 
 #define rq_list_next(rq)	(rq)->rq_next
 #define rq_list_empty(list)	((list) == (struct request *) NULL)
-- 
2.25.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: remove unnecessary trailing '\'
  2021-12-22 21:52 [PATCH] block: remove unnecessary trailing '\' Keith Busch
@ 2021-12-22 23:57 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-12-22 23:57 UTC (permalink / raw)
  To: Keith Busch, linux-block

On Wed, 22 Dec 2021 13:52:39 -0800, Keith Busch wrote:
> While harmless, the blank line is certainly not intended to be part of
> the rq_list_for_each() macro. Remove it.
> 
> 

Applied, thanks!

[1/1] block: remove unnecessary trailing '\'
      commit: a16c7246368db8935652c805bc446928d0e1c0aa

Best regards,
-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-22 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 21:52 [PATCH] block: remove unnecessary trailing '\' Keith Busch
2021-12-22 23:57 ` Jens Axboe

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.