On Fri, Mar 1, 2024 at 10:26 AM Kui-Feng Lee <sinquersw@xxxxxxxxx> wrote: > > For BPF, > > We have a lot of code mixing bpf_type_flag and bpf_reg_type in bpf. > They cause the warning messages described in the message following. > Do we want to fix them all, or keep them as they are? > > They can be fixed by merging two enum types or casting here and there if > we want. Any other idea? We probably should add -Wno-enum-enum-conversion to kernel/bpf/Makefile instead.