Content-Type: multipart/mixed; boundary="===============1167309342031309372==" MIME-Version: 1.0 From: Jakub Kicinski To: kbuild-all@lists.01.org Subject: Re: [PATCH net-next 3/4] net: warn if transport header was not set Date: Mon, 09 May 2022 19:23:19 -0700 Message-ID: <20220509192319.1fc6729a@kernel.org> In-Reply-To: List-Id: --===============1167309342031309372== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, 9 May 2022 19:11:15 -0700 Eric Dumazet wrote: > On Mon, May 9, 2022 at 6:30 PM Jakub Kicinski wrote: > > Yeah the order of inclusion is skbuff -> netdevice, as you probably > > figured out by yourself. We may want to pull back the code move for > > the print helpers. Unless you have cycles to untangle that :S = > = > I added at the beginning of the new file : > = > #include > struct net_device; > = > Hopefully this is enough. Maybe toss in linux/kern_levels.h for a good measure? netdev_WARN() uses netdev_name() but it's a macro, so the users of that will need to include netdevice.h, or we could leave netdev_WARN() in = netdevice.h. Doesn't matter in practice. --===============1167309342031309372==--