Re: [PATCH] fix:mtip32xx: mark symbols static where possible

From: Jens Axboe
Date: Fri Aug 26 2016 - 11:40:11 EST


On 08/26/2016 12:08 AM, Baoyou Xie wrote:
We get 1 warning when biuld kernel with W=1:
drivers/block/mtip32xx/mtip32xx.c:3689:6: warning: no previous prototype for
'mtip_block_release' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.

Applied for 4.9, thanks.

--
Jens Axboe