Re: [PATCH] MIPS: init: move externs to header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 07, 2021 at 11:06:45AM +0800, Yanteng Si wrote:
>     This commit fixes the following checkpatch warnings:
> 
>     WARNING: externs should be avoided in .c files
> 
>     This is a warning for placing declarations in a ".c" file.
>     This fix removes the declaration in ".c" and adds it to
>     the common header file.
> 
> Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
> ---
>  arch/mips/include/asm/traps.h       | 1 +
>  arch/mips/loongson2ef/common/init.c | 1 -
>  arch/mips/loongson64/init.c         | 1 -
>  arch/mips/mti-malta/malta-init.c    | 1 -
>  arch/mips/pistachio/init.c          | 1 -
>  5 files changed, 1 insertion(+), 4 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux