In file included from ../kernel/bpf/helpers.c:4:
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/helpers.c:114:36: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  114 |         .arg2_type      = ARG_PTR_TO_MAP_VALUE | MEM_UNINIT | MEM_WRITE,
      |                           ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:127:36: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  127 |         .arg2_type      = ARG_PTR_TO_MAP_VALUE | MEM_UNINIT | MEM_WRITE,
      |                           ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:538:30: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  538 |         .arg1_type      = ARG_PTR_TO_MEM | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:541:41: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  541 |         .arg4_type      = ARG_PTR_TO_FIXED_SIZE_MEM | MEM_UNINIT | MEM_WRITE | MEM_ALIGNED,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:566:30: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  566 |         .arg1_type      = ARG_PTR_TO_MEM | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:569:41: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  569 |         .arg4_type      = ARG_PTR_TO_FIXED_SIZE_MEM | MEM_UNINIT | MEM_WRITE | MEM_ALIGNED,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:582:30: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  582 |         .arg1_type      = ARG_PTR_TO_MEM | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:652:35: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  652 |         .arg4_type      = ARG_PTR_TO_MEM | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:724:39: warning: bitwise operation between different enumeration types ('enum bpf_return_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  724 |         .ret_type       = RET_PTR_TO_MEM_OR_BTF_ID | PTR_MAYBE_NULL | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/helpers.c:737:39: warning: bitwise operation between different enumeration types ('enum bpf_return_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  737 |         .ret_type       = RET_PTR_TO_MEM_OR_BTF_ID | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:1079:30: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1079 |         .arg4_type      = ARG_PTR_TO_MEM | PTR_MAYBE_NULL | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/helpers.c:1640:44: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1640 |         .arg2_type    = ARG_PTR_TO_BTF_ID_OR_NULL | OBJ_RELEASE,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/helpers.c:1745:33: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1745 |         .arg4_type      = ARG_PTR_TO_DYNPTR | DYNPTR_TYPE_LOCAL | MEM_UNINIT | MEM_WRITE,
      |                           ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
../kernel/bpf/helpers.c:1788:33: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1788 |         .arg3_type      = ARG_PTR_TO_DYNPTR | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:1836:33: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1836 |         .arg1_type      = ARG_PTR_TO_DYNPTR | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:1838:30: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1838 |         .arg3_type      = ARG_PTR_TO_MEM | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/helpers.c:1878:33: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1878 |         .arg1_type      = ARG_PTR_TO_DYNPTR | MEM_RDONLY,
      |                           ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
21 warnings generated.
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:901:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  901 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:479:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  479 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:901:33: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
  901 |                 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM)
      |                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         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:1121:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1121 |                 if (st->type & PTR_UNTRUSTED)
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:1917:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1917 |         regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC;
      |                            ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:1937:14: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1937 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                  ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:1937:45: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 1937 |                 (reg->type & DYNPTR_TYPE_SKB || reg->type & DYNPTR_TYPE_XDP);
      |                                                 ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:2470:35: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 2470 |         regs[regno].type = PTR_TO_BTF_ID | flag;
      |                            ~~~~~~~~~~~~~ ^ ~~~~
../kernel/bpf/verifier.c:5485:62: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5485 |                 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED),
      |                                                              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:5581:25: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5581 |         reg->type = PTR_TO_MEM | PTR_MAYBE_NULL;
      |                     ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:5974:19: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 5974 |         return reg->type & MEM_RCU;
      |                ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:6815:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6815 |         if (reg->type & MEM_USER) {
      |             ~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:6822:16: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6822 |         if (reg->type & MEM_PERCPU) {
      |             ~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:6846:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 6846 |                     !(reg->type & MEM_RCU) && !reg->ref_obj_id) {
      |                       ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8086:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8086 |         if (arg_type & MEM_UNINIT) {
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8105:54: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8105 |                 if (reg->type == CONST_PTR_TO_DYNPTR && !(arg_type & MEM_RDONLY)) {
      |                                                           ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8482:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8482 |                type & MEM_UNINIT;
      |                ~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8487:14: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8487 |         return type & OBJ_RELEASE;
      |                ~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8547:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8547 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8561:14: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8561 |                 PTR_TO_MEM | MEM_RINGBUF,
      |                 ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8563:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8563 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8570:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8570 |                 PTR_TO_BTF_ID | MEM_ALLOC,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8577:79: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8577 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
      |                                                                    ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8582:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8582 |                 PTR_TO_BTF_ID | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8583:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8583 |                 PTR_TO_BTF_ID | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8588:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8588 |                 PTR_TO_BTF_ID | MEM_PERCPU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8589:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8589 |                 PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8590:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8590 |                 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8600:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8600 |                 PTR_TO_BTF_ID | MEM_ALLOC
      |                 ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8664:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8664 |         if (arg_type & MEM_RDONLY)
      |             ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8666:15: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8666 |         if (arg_type & PTR_MAYBE_NULL)
      |             ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8697:18: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8697 |                 if (!(arg_type & MEM_RDONLY)) {
      |                       ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8709:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8709 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8710:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8710 |         case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8711:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8711 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8712:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8712 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8713:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8713 |         case PTR_TO_BTF_ID | PTR_MAYBE_NULL | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:8758:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8758 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8759:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8759 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8771:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8771 |         case PTR_TO_BTF_ID | MEM_PERCPU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8772:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8772 |         case PTR_TO_BTF_ID | MEM_PERCPU | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8773:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8773 |         case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8842:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8842 |         case PTR_TO_MEM | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8843:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8843 |         case PTR_TO_MEM | MEM_RINGBUF:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8845:18: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8845 |         case PTR_TO_BUF | MEM_RDONLY:
      |              ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:8853:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8853 |         case PTR_TO_BTF_ID | MEM_ALLOC:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8854:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8854 |         case PTR_TO_BTF_ID | PTR_TRUSTED:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:8855:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8855 |         case PTR_TO_BTF_ID | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:8856:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8856 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:8857:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 8857 |         case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU:
      |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9143:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9143 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9145:21: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9145 |                                               arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                               ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9186:29: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9186 |                 meta->raw_mode = arg_type & MEM_UNINIT;
      |                                  ~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:9187:16: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9187 |                 if (arg_type & MEM_FIXED_SIZE) {
      |                     ~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9189:22: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9189 |                                                       arg_type & MEM_WRITE ? BPF_WRITE : BPF_READ,
      |                                                       ~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9193:17: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9193 |                         if (arg_type & MEM_ALIGNED)
      |                             ~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:9199:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9199 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9205:29: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9205 |                                          fn->arg_type[arg - 1] & MEM_WRITE ?
      |                                          ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:9561:36: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9561 |         bool is_fixed = fn->arg_type[arg] & MEM_FIXED_SIZE;
      |                         ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9604:26: warning: bitwise operation between different enumeration types ('const enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9604 |                      !(fn->arg_type[i] & MEM_FIXED_SIZE)))
      |                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9809:24: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9809 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
      |                               ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9809:56: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9809 |                         if (!(arg->arg_type & PTR_MAYBE_NULL) && (reg->type & PTR_MAYBE_NULL)) {
      |                                                                   ~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:9825:50: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 9825 |                 } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
      |                                              ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:10779:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10779 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:479:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  479 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10779:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10779 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         bpf_for_each_reg_in_vstate_mask(__vst, __state, __reg, 1 << STACK_SPILL, __expr)
      |                                                                                  ^~~~~~
../include/linux/bpf_verifier.h:479:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  479 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:10779:32: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10779 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                ~~~~~~~~~ ^ ~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         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:10779:59: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10779 |                                                 if (in_rcu && (reg->type & MEM_ALLOC) && (reg->type & MEM_PERCPU)) {
       |                                                                                           ~~~~~~~~~ ^ ~~~~~~~~~~
../include/linux/bpf_verifier.h:491:75: note: expanded from macro 'bpf_for_each_reg_in_vstate'
  491 |         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:10934:17: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10934 |                 if (reg->type & MEM_RCU) {
       |                     ~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:10989:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10989 |                 regs[BPF_REG_0].type = PTR_TO_MAP_VALUE | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:10997:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 10997 |                 regs[BPF_REG_0].type = PTR_TO_SOCKET | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11001:45: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11001 |                 regs[BPF_REG_0].type = PTR_TO_SOCK_COMMON | ret_flag;
       |                                        ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11005:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11005 |                 regs[BPF_REG_0].type = PTR_TO_TCP_SOCK | ret_flag;
       |                                        ~~~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11009:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11009 |                 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                        ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11031:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11031 |                         regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag;
       |                                                ~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11035:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11035 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC | MEM_RCU;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:11043:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11043 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11057:40: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11057 |                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | ret_flag;
       |                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~
../kernel/bpf/verifier.c:11842:21: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 11842 |         case PTR_TO_BTF_ID | MEM_ALLOC:
       |              ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12338:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12338 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12343:43: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12343 |                         } else if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC | MEM_PERCPU)) {
       |                                                  ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12377:25: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12377 |                                    (dynptr_arg_type & MEM_UNINIT)) {
       |                                     ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12397:26: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12397 |                         if (!(dynptr_arg_type & MEM_UNINIT)) {
       |                               ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:12424:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12424 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12428:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12428 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12438:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12438 |                             reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12442:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12442 |                         if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12451:36: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12451 |                         if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                           ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12474:37: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12474 |                                 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) {
       |                                                   ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12746:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12746 |                                 if (reg->type & MEM_RCU) {
       |                                     ~~~~~~~~~ ^ ~~~~~~~
../include/linux/bpf_verifier.h:479:12: note: expanded from macro 'bpf_for_each_reg_in_vstate_mask'
  479 |                                 (void)(__expr);                          \
      |                                        ^~~~~~
../kernel/bpf/verifier.c:12746:19: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12746 |                                 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:12926:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12926 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12936:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12936 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:12955:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12955 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_TRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
../kernel/bpf/verifier.c:12967:42: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12967 |                                 regs[BPF_REG_0].type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                                        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:12984:39: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 12984 |                                 regs[BPF_REG_0].type = PTR_TO_MEM | type_flag;
       |                                                        ~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:13058:24: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13058 |                                 if (cur_iter->type & MEM_RCU) /* KF_RCU_PROTECTED */
       |                                     ~~~~~~~~~~~~~~ ^ ~~~~~~~
../kernel/bpf/verifier.c:13518:20: warning: bitwise operation between different enumeration types ('const enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 13518 |         if (ptr_reg->type & PTR_MAYBE_NULL) {
       |             ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:18522:31: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18522 |                         *prev_type = PTR_TO_BTF_ID | PTR_UNTRUSTED;
       |                                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:18971:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18971 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:18990:41: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 18990 |                 aux->btf_var.reg_type = PTR_TO_BTF_ID | MEM_PERCPU;
       |                                         ~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:19007:38: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 19007 |                 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY;
       |                                         ~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:20057:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20057 |                 case PTR_TO_BTF_ID | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:20064:22: warning: bitwise operation between different enumeration types ('enum bpf_reg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 20064 |                 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED:
       |                      ~~~~~~~~~~~~~ ^ ~~~~~~~~~
../kernel/bpf/verifier.c:21800:51: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 21800 |                         } else if (arg->arg_type == (ARG_PTR_TO_DYNPTR | MEM_RDONLY)) {
       |                                                      ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../kernel/bpf/verifier.c:21805:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 21805 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:21812:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 21812 |                                 if (arg->arg_type & PTR_MAYBE_NULL)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
../kernel/bpf/verifier.c:21814:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 21814 |                                 if (arg->arg_type & PTR_UNTRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
../kernel/bpf/verifier.c:21816:23: warning: bitwise operation between different enumeration types ('enum bpf_arg_type' and 'enum bpf_type_flag') [-Wenum-enum-conversion]
 21816 |                                 if (arg->arg_type & PTR_TRUSTED)
       |                                     ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
111 warnings generated.
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o