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

From: Sasha Levin
Date: Wed Mar 16 2022 - 10:45:36 EST


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