Re: [PATCH 4/8] hamradio: baycom: fix old-style declaration

From: David Miller
Date: Fri Jun 17 2016 - 01:06:59 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Thu, 16 Jun 2016 15:52:11 +0200

> Modern C standards expect the '__inline__' keyword to come before the return
> type in a declaration, and we get a warning for this with "make W=1":
>
> drivers/net/hamradio/baycom_par.c:159:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
>
> For consistency with other drivers, I'm changing '__inline__' to 'inline'
> at the same time.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied.