Re: [PATCH 05/17] swim3: mark swim3_init() static

From: Jens Axboe
Date: Thu Aug 10 2023 - 10:33:27 EST


On 8/10/23 8:19 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> This is the module init function, which by definition is used only
> locally, so mark it static to avoid a warning:
>
> drivers/block/swim3.c:1280:5: error: no previous prototype for 'swim3_init' [-Werror=missing-prototypes]

Applied, thanks.

--
Jens Axboe