[U-Boot] [PATCH 1/2] MIPS: use inline directive for __in*s functions

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Tue Jan 22 21:50:15 CET 2013


2013/1/16 Gabor Juhos <juhosg at openwrt.org>:
> All other IO accessor functions are using the
> 'inline' directive. Use that also for the __in*s
> to make it consistent with the other variants.
>
> Signed-off-by: Gabor Juhos <juhosg at openwrt.org>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at googlemail.com>
>
> ---
> NOTE: checkpatch.pl throwns an error for the patch:
>
>   0001-MIPS-use-inline-directive-for-__in-s-functions.patch:24: ERROR: open brace '{' following function declarations go on the next line
>   total: 1 errors, 0 warnings, 8 lines checked
>
> However that error is already present if the
> 'arch/mips/include/asm/io.h' file is checked
> with checkpatch.pl. The cleanup should be
> done in a separare patch.
> ---
>  arch/mips/include/asm/io.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

applied to u-boot-mips/master, thanks

-- 
Best regards,
Daniel


More information about the U-Boot mailing list