In file included from ../kernel/bpf/verifier.c:7:
In file included from ../include/linux/bpf-cgroup.h:5:
In file included from ../include/linux/bpf.h:21:
In file included from ../include/linux/kallsyms.h:13:
In file included from ../include/linux/mm.h:2223:
../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  505 |                            item];
      |                            ~~~~
../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  512 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
  518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
      |                               ~~~~~~~~~~~ ^ ~~~
../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  525 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:1127:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1127 |                 if (st->type & PTR_UNTRUSTED)
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2083:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2083 |         regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC;
      |                            ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:2103:14: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                  ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2103:45: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                                                 ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2636:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2636 |         regs[regno].type = PTR_TO_BTF_ID | flag;
      |                            ~~~~~~~~~~~~~ ^ ~~~~
../kernel/bpf/verifier.c:5660:62: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5660 |                 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED),
      |                                                              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:5760:25: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5760 |         reg->type = PTR_TO_MEM | PTR_MAYBE_NULL;
      |                     ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:6153:19: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6153 |         return reg->type & MEM_RCU;
      |                ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:6994:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6994 |         if (reg->type & MEM_USER) {
      |             ~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:7001:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7001 |         if (reg->type & MEM_PERCPU) {
      |             ~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:7025:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7025 |                     !(reg->type & MEM_RCU) && !reg->ref_obj_id) {
      |                       ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8265:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8265 |         if (arg_type & MEM_UNINIT) {
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8284:54: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8284 |                 if (reg->type == CONST_PTR_TO_DYNPTR && !(arg_type & MEM_RDONLY)) {
      |                                                           ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8661:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8661 |                type & MEM_UNINIT;
      |                ~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8666:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8666 |         return type & OBJ_RELEASE;
      |                ~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8726:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8726 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8740:14: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8740 |                 PTR_TO_MEM | MEM_RINGBUF,
      |                 ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8742:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8742 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8749:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8749 |                 PTR_TO_BTF_ID | MEM_ALLOC,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8756:79: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8756 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
      |                                                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8761:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8761 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8762:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8762 |                 PTR_TO_BTF_ID | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8767:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8767 |                 PTR_TO_BTF_ID | MEM_PERCPU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8768:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8768 |                 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8769:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8769 |                 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8779:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8779 |                 PTR_TO_BTF_ID | MEM_ALLOC
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8843:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8843 |         if (arg_type & MEM_RDONLY)
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8845:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8845 |         if (arg_type & PTR_MAYBE_NULL)
      |             ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8876:18: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8876 |                 if (!(arg_type & MEM_RDONLY)) {
      |                       ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8888:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8888 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8889:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8889 |         case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8890:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8890 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8891:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8891 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8892:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8892 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8937:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8937 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8938:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8938 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8950:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8950 |         case PTR_TO_BTF_ID | MEM_PERCPU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8951:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8951 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8952:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8952 |         case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9021:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9021 |         case PTR_TO_MEM | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9022:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9022 |         case PTR_TO_MEM | MEM_RINGBUF:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9024:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9024 |         case PTR_TO_BUF | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9032:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9032 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9033:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9033 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9034:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9034 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:9035:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9035 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9036:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9036 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9322:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9322 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9324:21: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9324 |                                               arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                               ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9365:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9365 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9366:16: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9366 |                 if (arg_type & MEM_FIXED_SIZE) {
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9368:22: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9368 |                                                       arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                                       ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9372:17: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9372 |                         if (arg_type & MEM_ALIGNED)
      |                             ~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9378:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9378 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9384:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9384 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9740:36: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9740 |         bool is_fixed = fn->arg_type[arg] & MEM_FIXED_SIZE;
      |                         ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9783:26: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9783 |                      !(fn->arg_type[i] & MEM_FIXED_SIZE)))
      |                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:24: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                               ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:56: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                                                                   ~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10019:50: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10019 |                 } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                              ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:11145:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11145 |                 if (reg->type & MEM_RCU) {
       |                     ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:11200:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11200 |                 regs[BPF_REG_0].type = PTR_TO_MAP_VALUE | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11208:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11208 |                 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11212:45: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11212 |                 regs[BPF_REG_0].type = PTR_TO_SOCK_COMMON | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11216:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11216 |                 regs[BPF_REG_0].type = PTR_TO_TCP_SOCK | ret_flag;
       |                                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11220:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11220 |                 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                        ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11242:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11242 |                         regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                                ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11246:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11246 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC | MEM_RCU;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:11254:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11254 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11268:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11268 |                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:12126:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12126 |         case PTR_TO_BTF_ID | MEM_ALLOC:
       |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12635:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12635 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12640:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12640 |                         } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) {
       |                                                  ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12674:25: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12674 |                                    (dynptr_arg_type & MEM_UNINIT)) {
       |                                     ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12694:26: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12694 |                         if (!(dynptr_arg_type & MEM_UNINIT)) {
       |                               ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12721:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12721 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12725:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12725 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12735:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12735 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12739:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12739 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12748:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12748 |                         if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12771:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12771 |                                 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                                   ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13237:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13237 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13247:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13247 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13266:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13266 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_TRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:13278:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13278 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:13295:39: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13295 |                                 regs[BPF_REG_0].type = PTR_TO_MEM | type_flag;
       |                                                        ~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13369:24: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13369 |                                 if (cur_iter->type & MEM_RCU) /* KF_RCU_PROTECTED */
       |                                     ~~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:13829:20: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13829 |         if (ptr_reg->type & PTR_MAYBE_NULL) {
       |             ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:18837:31: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18837 |                         *prev_type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:19303:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19303 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19322:41: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19322 |                 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU;
       |                                         ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19338:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19338 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:20389:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20389 |                 case PTR_TO_BTF_ID | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:20396:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20396 |                 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:22128:51: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22128 |                         } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                                      ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:22133:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22133 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22140:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22140 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22142:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22142 |                                 if (arg->arg_type & PTR_UNTRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22144:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22144 |                                 if (arg->arg_type & PTR_TRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
111 warnings generated.
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o
In file included from ../kernel/bpf/verifier.c:7:
In file included from ../include/linux/bpf-cgroup.h:5:
In file included from ../include/linux/bpf.h:21:
In file included from ../include/linux/kallsyms.h:13:
In file included from ../include/linux/mm.h:2223:
../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  505 |                            item];
      |                            ~~~~
../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  512 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
  518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
      |                               ~~~~~~~~~~~ ^ ~~~
../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  525 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:1127:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1127 |                 if (st->type & PTR_UNTRUSTED)
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2083:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2083 |         regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC;
      |                            ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:2103:14: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                  ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2103:45: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                                                 ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2636:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2636 |         regs[regno].type = PTR_TO_BTF_ID | flag;
      |                            ~~~~~~~~~~~~~ ^ ~~~~
../kernel/bpf/verifier.c:5660:62: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5660 |                 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED),
      |                                                              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:5760:25: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5760 |         reg->type = PTR_TO_MEM | PTR_MAYBE_NULL;
      |                     ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:6153:19: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6153 |         return reg->type & MEM_RCU;
      |                ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:6994:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6994 |         if (reg->type & MEM_USER) {
      |             ~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:7001:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7001 |         if (reg->type & MEM_PERCPU) {
      |             ~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:7025:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7025 |                     !(reg->type & MEM_RCU) && !reg->ref_obj_id) {
      |                       ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8265:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8265 |         if (arg_type & MEM_UNINIT) {
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8284:54: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8284 |                 if (reg->type == CONST_PTR_TO_DYNPTR && !(arg_type & MEM_RDONLY)) {
      |                                                           ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8661:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8661 |                type & MEM_UNINIT;
      |                ~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8666:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8666 |         return type & OBJ_RELEASE;
      |                ~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8726:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8726 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8740:14: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8740 |                 PTR_TO_MEM | MEM_RINGBUF,
      |                 ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8742:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8742 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8749:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8749 |                 PTR_TO_BTF_ID | MEM_ALLOC,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8756:79: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8756 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
      |                                                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8761:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8761 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8762:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8762 |                 PTR_TO_BTF_ID | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8767:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8767 |                 PTR_TO_BTF_ID | MEM_PERCPU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8768:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8768 |                 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8769:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8769 |                 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8779:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8779 |                 PTR_TO_BTF_ID | MEM_ALLOC
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8843:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8843 |         if (arg_type & MEM_RDONLY)
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8845:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8845 |         if (arg_type & PTR_MAYBE_NULL)
      |             ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8876:18: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8876 |                 if (!(arg_type & MEM_RDONLY)) {
      |                       ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8888:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8888 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8889:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8889 |         case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8890:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8890 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8891:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8891 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8892:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8892 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8937:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8937 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8938:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8938 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8950:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8950 |         case PTR_TO_BTF_ID | MEM_PERCPU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8951:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8951 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8952:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8952 |         case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9021:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9021 |         case PTR_TO_MEM | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9022:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9022 |         case PTR_TO_MEM | MEM_RINGBUF:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9024:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9024 |         case PTR_TO_BUF | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9032:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9032 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9033:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9033 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9034:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9034 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:9035:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9035 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9036:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9036 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9322:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9322 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9324:21: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9324 |                                               arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                               ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9365:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9365 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9366:16: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9366 |                 if (arg_type & MEM_FIXED_SIZE) {
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9368:22: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9368 |                                                       arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                                       ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9372:17: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9372 |                         if (arg_type & MEM_ALIGNED)
      |                             ~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9378:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9378 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9384:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9384 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9740:36: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9740 |         bool is_fixed = fn->arg_type[arg] & MEM_FIXED_SIZE;
      |                         ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9783:26: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9783 |                      !(fn->arg_type[i] & MEM_FIXED_SIZE)))
      |                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:24: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                               ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:56: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                                                                   ~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10019:50: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10019 |                 } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                              ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:11145:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11145 |                 if (reg->type & MEM_RCU) {
       |                     ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:11200:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11200 |                 regs[BPF_REG_0].type = PTR_TO_MAP_VALUE | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11208:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11208 |                 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11212:45: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11212 |                 regs[BPF_REG_0].type = PTR_TO_SOCK_COMMON | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11216:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11216 |                 regs[BPF_REG_0].type = PTR_TO_TCP_SOCK | ret_flag;
       |                                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11220:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11220 |                 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                        ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11242:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11242 |                         regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                                ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11246:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11246 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC | MEM_RCU;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:11254:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11254 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11268:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11268 |                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:12126:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12126 |         case PTR_TO_BTF_ID | MEM_ALLOC:
       |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12635:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12635 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12640:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12640 |                         } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) {
       |                                                  ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12674:25: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12674 |                                    (dynptr_arg_type & MEM_UNINIT)) {
       |                                     ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12694:26: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12694 |                         if (!(dynptr_arg_type & MEM_UNINIT)) {
       |                               ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12721:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12721 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12725:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12725 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12735:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12735 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12739:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12739 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12748:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12748 |                         if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12771:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12771 |                                 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                                   ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13237:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13237 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13247:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13247 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13266:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13266 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_TRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:13278:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13278 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:13295:39: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13295 |                                 regs[BPF_REG_0].type = PTR_TO_MEM | type_flag;
       |                                                        ~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13369:24: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13369 |                                 if (cur_iter->type & MEM_RCU) /* KF_RCU_PROTECTED */
       |                                     ~~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:13829:20: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13829 |         if (ptr_reg->type & PTR_MAYBE_NULL) {
       |             ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:18838:31: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18838 |                         *prev_type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:19304:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19304 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19323:41: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19323 |                 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU;
       |                                         ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19339:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19339 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:20390:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20390 |                 case PTR_TO_BTF_ID | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:20397:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20397 |                 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:22129:51: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22129 |                         } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                                      ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:22134:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22134 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22141:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22141 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22143:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22143 |                                 if (arg->arg_type & PTR_UNTRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22145:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22145 |                                 if (arg->arg_type & PTR_TRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
111 warnings generated.
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o
In file included from ../kernel/bpf/verifier.c:7:
In file included from ../include/linux/bpf-cgroup.h:5:
In file included from ../include/linux/bpf.h:21:
In file included from ../include/linux/kallsyms.h:13:
In file included from ../include/linux/mm.h:2223:
../include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  505 |                            item];
      |                            ~~~~
../include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  512 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
  518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
      |                               ~~~~~~~~~~~ ^ ~~~
../include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
  524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  525 |                            NR_VM_NUMA_EVENT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:907:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  907 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:1127:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1127 |                 if (st->type & PTR_UNTRUSTED)
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2083:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2083 |         regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC;
      |                            ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:2103:14: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                  ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2103:45: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2103 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                                                 ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2636:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2636 |         regs[regno].type = PTR_TO_BTF_ID | flag;
      |                            ~~~~~~~~~~~~~ ^ ~~~~
../kernel/bpf/verifier.c:5660:62: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5660 |                 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED),
      |                                                              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:5760:25: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5760 |         reg->type = PTR_TO_MEM | PTR_MAYBE_NULL;
      |                     ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:6153:19: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6153 |         return reg->type & MEM_RCU;
      |                ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:6994:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6994 |         if (reg->type & MEM_USER) {
      |             ~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:7001:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7001 |         if (reg->type & MEM_PERCPU) {
      |             ~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:7025:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 7025 |                     !(reg->type & MEM_RCU) && !reg->ref_obj_id) {
      |                       ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8265:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8265 |         if (arg_type & MEM_UNINIT) {
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8284:54: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8284 |                 if (reg->type == CONST_PTR_TO_DYNPTR && !(arg_type & MEM_RDONLY)) {
      |                                                           ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8661:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8661 |                type & MEM_UNINIT;
      |                ~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8666:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8666 |         return type & OBJ_RELEASE;
      |                ~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8726:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8726 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8740:14: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8740 |                 PTR_TO_MEM | MEM_RINGBUF,
      |                 ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8742:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8742 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8749:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8749 |                 PTR_TO_BTF_ID | MEM_ALLOC,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8756:79: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8756 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
      |                                                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8761:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8761 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8762:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8762 |                 PTR_TO_BTF_ID | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8767:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8767 |                 PTR_TO_BTF_ID | MEM_PERCPU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8768:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8768 |                 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8769:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8769 |                 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8779:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8779 |                 PTR_TO_BTF_ID | MEM_ALLOC
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8843:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8843 |         if (arg_type & MEM_RDONLY)
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8845:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8845 |         if (arg_type & PTR_MAYBE_NULL)
      |             ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8876:18: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8876 |                 if (!(arg_type & MEM_RDONLY)) {
      |                       ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8888:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8888 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8889:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8889 |         case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8890:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8890 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8891:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8891 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8892:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8892 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8937:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8937 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8938:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8938 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8950:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8950 |         case PTR_TO_BTF_ID | MEM_PERCPU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8951:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8951 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8952:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8952 |         case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9021:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9021 |         case PTR_TO_MEM | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9022:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9022 |         case PTR_TO_MEM | MEM_RINGBUF:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9024:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9024 |         case PTR_TO_BUF | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9032:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9032 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9033:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9033 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9034:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9034 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:9035:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9035 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9036:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9036 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9322:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9322 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9324:21: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9324 |                                               arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                               ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9365:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9365 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9366:16: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9366 |                 if (arg_type & MEM_FIXED_SIZE) {
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9368:22: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9368 |                                                       arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                                       ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9372:17: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9372 |                         if (arg_type & MEM_ALIGNED)
      |                             ~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9378:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9378 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9384:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9384 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9740:36: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9740 |         bool is_fixed = fn->arg_type[arg] & MEM_FIXED_SIZE;
      |                         ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9783:26: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9783 |                      !(fn->arg_type[i] & MEM_FIXED_SIZE)))
      |                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:24: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                               ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10003:56: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10003 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
       |                                                                   ~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:10019:50: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10019 |                 } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                              ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10990:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10990 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:496:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  496 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:11145:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11145 |                 if (reg->type & MEM_RCU) {
       |                     ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:11200:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11200 |                 regs[BPF_REG_0].type = PTR_TO_MAP_VALUE | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11208:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11208 |                 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11212:45: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11212 |                 regs[BPF_REG_0].type = PTR_TO_SOCK_COMMON | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11216:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11216 |                 regs[BPF_REG_0].type = PTR_TO_TCP_SOCK | ret_flag;
       |                                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11220:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11220 |                 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                        ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11242:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11242 |                         regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                                ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11246:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11246 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC | MEM_RCU;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:11254:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11254 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11268:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11268 |                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:12126:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12126 |         case PTR_TO_BTF_ID | MEM_ALLOC:
       |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12635:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12635 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12640:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12640 |                         } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) {
       |                                                  ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12674:25: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12674 |                                    (dynptr_arg_type & MEM_UNINIT)) {
       |                                     ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12694:26: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12694 |                         if (!(dynptr_arg_type & MEM_UNINIT)) {
       |                               ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12721:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12721 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12725:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12725 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12735:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12735 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12739:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12739 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12748:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12748 |                         if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12771:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12771 |                                 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                                   ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:484:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  484 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13052:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13052 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:489:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  489 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:13237:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13237 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13247:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13247 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13266:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13266 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_TRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:13278:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13278 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:13295:39: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13295 |                                 regs[BPF_REG_0].type = PTR_TO_MEM | type_flag;
       |                                                        ~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13369:24: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13369 |                                 if (cur_iter->type & MEM_RCU) /* KF_RCU_PROTECTED */
       |                                     ~~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:13829:20: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13829 |         if (ptr_reg->type & PTR_MAYBE_NULL) {
       |             ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:18837:31: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18837 |                         *prev_type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:19303:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19303 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19322:41: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19322 |                 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU;
       |                                         ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19338:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19338 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:20389:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20389 |                 case PTR_TO_BTF_ID | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:20396:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20396 |                 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:22128:51: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22128 |                         } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                                      ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:22133:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22133 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22140:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22140 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22142:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22142 |                                 if (arg->arg_type & PTR_UNTRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:22144:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 22144 |                                 if (arg->arg_type & PTR_TRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
111 warnings generated.
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o