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

From: Jakub Kicinski
Date: Wed Mar 09 2022 - 12:01:03 EST


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.