Re: [PATCH 01/13] drivers: block: Mark the functions as static inskd_main.c

From: Jens Axboe
Date: Thu Dec 19 2013 - 10:07:22 EST


On Thu, Dec 19 2013, Rashika Kheria wrote:
> Mark functions skd_skmsg_state_to_str() and skd_skreq_state_to_str() as
> static in skd_main.c because they are not used outside this file.
>
> This eliminates the following warnings in skd_main.c:
> drivers/block/skd_main.c:5272:13: warning: no previous prototype for âskd_skmsg_state_to_strâ [-Wmissing-prototypes]
> drivers/block/skd_main.c:5284:13: warning: no previous prototype for âskd_skreq_state_to_strâ [-Wmissing-prototypes]

Thanks, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/