[PATCH AUTOSEL 5.16 16/27] net: sparx5: Add #include to remove warning

Sasha Levin sashal at kernel.org
Wed Mar 16 07:45:24 PDT 2022


On Wed, Mar 09, 2022 at 08:49:11AM -0800, Jakub Kicinski wrote:
>On Wed,  9 Mar 2022 11:16:53 -0500 Sasha Levin wrote:
>> main.h uses NUM_TARGETS from main_regs.h, but
>> the missing include never causes any errors
>> because everywhere main.h is (currently)
>> included, main_regs.h is included before.
>> But since it is dependent on main_regs.h
>> it should always be included.
>
>This is not fixing anything in the current trees.

I'll drop it, thanks!

-- 
Thanks,
Sasha



More information about the linux-arm-kernel mailing list