Re: [PATCH] bpf: btf: include linux/types.h for u32

From: Dmitrii Bundin
Date: Wed Apr 17 2024 - 02:26:28 EST


On Tue, Apr 16, 2024 at 5:47 PM Daniel Borkmann <daniel@xxxxxxxxxxxxx> wrote:
> Please add the error description as motivation aka "why" into the commit
> description, otherwise it's not really obvious looking at it at a later
> point in time why the include was needed.

Doesn't the comment /* for u32 */ following the include explain the
purpose? I thought the include was actually missing since relying on
indirect declaration of u32 is relatively fragile.