+ block-blk-corec-make-blk_drain_queue-static.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: block/blk-core.c: make blk_drain_queue() static
has been added to the -mm tree.  Its filename is
     block-blk-corec-make-blk_drain_queue-static.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Tushar Behera <tushar.behera@xxxxxxxxxx>
Subject: block/blk-core.c: make blk_drain_queue() static

blk_drain_queue is only used in this file, so should be marked static.

Fixes following sparse warning.

block/blk-core.c:361:6: warning: symbol 'blk_drain_queue' was not
declared. Should it be static?

Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 block/blk-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN block/blk-core.c~block-blk-corec-make-blk_drain_queue-static block/blk-core.c
--- a/block/blk-core.c~block-blk-corec-make-blk_drain_queue-static
+++ a/block/blk-core.c
@@ -358,7 +358,7 @@ EXPORT_SYMBOL(blk_put_queue);
  * If not, only ELVPRIV requests are drained.  The caller is responsible
  * for ensuring that no new requests which need to be drained are queued.
  */
-void blk_drain_queue(struct request_queue *q, bool drain_all)
+static void blk_drain_queue(struct request_queue *q, bool drain_all)
 {
 	int i;
 
_

Patches currently in -mm which might be from tushar.behera@xxxxxxxxxx are

linux-next.patch
block-blk-corec-make-blk_drain_queue-static.patch
fs-notify-inode_markc-make-fsnotify_find_inode_mark_locked-static.patch
drivers-rtc-rtc-s3cc-remove-unnecessary-err_nores-label.patch
drivers-rtc-rtc-s3cc-convert-to-use-devm_-api.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux