From: Bart Van Assche Date: Wed, 21 Jun 2017 17:55:45 +0000 (-0700) Subject: block: Declare local symbols static X-Git-Tag: v4.13-rc1~70^2~5 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=commitdiff_plain;h=e0fc443a8643d4c9b330a637a1e6a422a44dde2a block: Declare local symbols static Avoid that building with W=1 causes the compiler to complain that a declaration for bounce_bio_set and bounce_bio_split is missing. References: commit a8821f3f32be ("block: Improvements to bounce-buffer handling") Signed-off-by: Bart Van Assche Cc: Neil Brown Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Ming Lei Signed-off-by: Jens Axboe --- diff --git a/block/bounce.c b/block/bounce.c index 17d77613c471..916ee9a9a216 100644 --- a/block/bounce.c +++ b/block/bounce.c @@ -26,7 +26,7 @@ #define POOL_SIZE 64 #define ISA_POOL_SIZE 16 -struct bio_set *bounce_bio_set, *bounce_bio_split; +static struct bio_set *bounce_bio_set, *bounce_bio_split; static mempool_t *page_pool, *isa_page_pool; #if defined(CONFIG_HIGHMEM) || defined(CONFIG_NEED_BOUNCE_POOL)