public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [jmondi:imx8mp/iob-gitlab/v6.9/extensible-format 1/7] include/uapi/linux/rkisp1-config.h:1033:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group')
@ 2024-05-31 13:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-31 13:11 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

TO: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jmondi/linux.git imx8mp/iob-gitlab/v6.9/extensible-format
head:   179f4f4afe27e4c851a5e7d3f24961a895d7aa60
commit: 58734661b41fc775ca877b2364ecaa09542bea30 [1/7] uapi: rkisp1-config: Add extensible parameters format
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240531/202405312102.wicgBDe2-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project bafda89a0944d947fc4b3b5663185e07a397ac30)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240531/202405312102.wicgBDe2-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405312102.wicgBDe2-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c:13:
   In file included from include/media/v4l2-common.h:105:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:26:
   In file included from include/linux/kernel_stat.h:9:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     547 |         val = __raw_readb(PCI_IOBASE + addr);
         |                           ~~~~~~~~~~ ^
   include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     560 |         val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
      37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
         |                                                   ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c:13:
   In file included from include/media/v4l2-common.h:105:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:26:
   In file included from include/linux/kernel_stat.h:9:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     573 |         val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
      35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
         |                                                   ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c:13:
   In file included from include/media/v4l2-common.h:105:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:26:
   In file included from include/linux/kernel_stat.h:9:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     584 |         __raw_writeb(value, PCI_IOBASE + addr);
         |                             ~~~~~~~~~~ ^
   include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     594 |         __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     604 |         __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c:13:
   In file included from include/media/v4l2-common.h:105:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:21:
   In file included from include/linux/mm.h:2208:
   include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c:21:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:17:
>> include/uapi/linux/rkisp1-config.h:1033:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1033 |         RKISP1_EXT_PARAMS_BLS = RKISP1_EXT_PARAMS_BLOCK_ID_BLS |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1034 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1035:59: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1035 |         RKISP1_EXT_PARAMS_DPCC = RKISP1_EXT_PARAMS_BLOCK_ID_DPCC |
         |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1036 |                                  RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1037:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1037 |         RKISP1_EXT_PARAMS_SDG = RKISP1_EXT_PARAMS_BLOCK_ID_SDG |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1038 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1039:69: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1039 |         RKISP1_EXT_PARAMS_AWB_GAINS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_GAINS |
         |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1040 |                                       RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1041:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1041 |         RKISP1_EXT_PARAMS_FLT = RKISP1_EXT_PARAMS_BLOCK_ID_FLT |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1042 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1043:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1043 |         RKISP1_EXT_PARAMS_BDM = RKISP1_EXT_PARAMS_BLOCK_ID_BDM |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1044 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1045:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1045 |         RKISP1_EXT_PARAMS_CTK = RKISP1_EXT_PARAMS_BLOCK_ID_CTK |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1046 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1047:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1047 |         RKISP1_EXT_PARAMS_GOC = RKISP1_EXT_PARAMS_BLOCK_ID_GOC |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1048 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1049:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1049 |         RKISP1_EXT_PARAMS_DPF = RKISP1_EXT_PARAMS_BLOCK_ID_DPF |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1050 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1051:75: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1051 |         RKISP1_EXT_PARAMS_DPF_STRENGHT = RKISP1_EXT_PARAMS_BLOCK_ID_DPF_STRENGHT |
         |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1052 |                                          RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1053:61: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1053 |         RKISP1_EXT_PARAMS_CPROC = RKISP1_EXT_PARAMS_BLOCK_ID_CPROC |
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1054 |                                   RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1055:55: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1055 |         RKISP1_EXT_PARAMS_IE = RKISP1_EXT_PARAMS_BLOCK_ID_IE |
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1056 |                                RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1059:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1059 |         RKISP1_EXT_PARAMS_LSC = RKISP1_EXT_PARAMS_BLOCK_ID_LSC |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1060 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_LSC,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1063:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1063 |         RKISP1_EXT_PARAMS_AWB_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1064 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1065:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1065 |         RKISP1_EXT_PARAMS_HST_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_HST_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1066 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1067:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1067 |         RKISP1_EXT_PARAMS_AEC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AEC_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1068 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1069:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1069 |         RKISP1_EXT_PARAMS_AFC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AFC_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1070 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   24 warnings generated.
--
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:11:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:15:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     547 |         val = __raw_readb(PCI_IOBASE + addr);
         |                           ~~~~~~~~~~ ^
   include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     560 |         val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
      37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
         |                                                   ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:11:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:15:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     573 |         val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
      35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
         |                                                   ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:11:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:15:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     584 |         __raw_writeb(value, PCI_IOBASE + addr);
         |                             ~~~~~~~~~~ ^
   include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     594 |         __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
     604 |         __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:11:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:17:
>> include/uapi/linux/rkisp1-config.h:1033:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1033 |         RKISP1_EXT_PARAMS_BLS = RKISP1_EXT_PARAMS_BLOCK_ID_BLS |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1034 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1035:59: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1035 |         RKISP1_EXT_PARAMS_DPCC = RKISP1_EXT_PARAMS_BLOCK_ID_DPCC |
         |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1036 |                                  RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1037:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1037 |         RKISP1_EXT_PARAMS_SDG = RKISP1_EXT_PARAMS_BLOCK_ID_SDG |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1038 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1039:69: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1039 |         RKISP1_EXT_PARAMS_AWB_GAINS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_GAINS |
         |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1040 |                                       RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1041:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1041 |         RKISP1_EXT_PARAMS_FLT = RKISP1_EXT_PARAMS_BLOCK_ID_FLT |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1042 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1043:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1043 |         RKISP1_EXT_PARAMS_BDM = RKISP1_EXT_PARAMS_BLOCK_ID_BDM |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1044 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1045:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1045 |         RKISP1_EXT_PARAMS_CTK = RKISP1_EXT_PARAMS_BLOCK_ID_CTK |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1046 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1047:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1047 |         RKISP1_EXT_PARAMS_GOC = RKISP1_EXT_PARAMS_BLOCK_ID_GOC |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1048 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1049:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1049 |         RKISP1_EXT_PARAMS_DPF = RKISP1_EXT_PARAMS_BLOCK_ID_DPF |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1050 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1051:75: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1051 |         RKISP1_EXT_PARAMS_DPF_STRENGHT = RKISP1_EXT_PARAMS_BLOCK_ID_DPF_STRENGHT |
         |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1052 |                                          RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1053:61: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1053 |         RKISP1_EXT_PARAMS_CPROC = RKISP1_EXT_PARAMS_BLOCK_ID_CPROC |
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1054 |                                   RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1055:55: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1055 |         RKISP1_EXT_PARAMS_IE = RKISP1_EXT_PARAMS_BLOCK_ID_IE |
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1056 |                                RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1059:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1059 |         RKISP1_EXT_PARAMS_LSC = RKISP1_EXT_PARAMS_BLOCK_ID_LSC |
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1060 |                                 RKISP1_EXT_PARAMS_BLOCK_GROUP_LSC,
         |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1063:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1063 |         RKISP1_EXT_PARAMS_AWB_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1064 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1065:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1065 |         RKISP1_EXT_PARAMS_HST_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_HST_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1066 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1067:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1067 |         RKISP1_EXT_PARAMS_AEC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AEC_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1068 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/uapi/linux/rkisp1-config.h:1069:67: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') [-Wenum-enum-conversion]
    1069 |         RKISP1_EXT_PARAMS_AFC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AFC_MEAS |
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1070 |                                      RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
         |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:11:
   In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.h:18:
   In file included from include/media/media-device.h:16:
   In file included from include/linux/pci.h:2693:
   In file included from include/linux/dma-mapping.h:11:
   In file included from include/linux/scatterlist.h:8:
   In file included from include/linux/mm.h:2208:
   include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   24 warnings generated.


vim +1033 include/uapi/linux/rkisp1-config.h

  1027	
  1028	/**
  1029	 * enum rkisp1_ext_params_block_type - RkISP1 extensible params block type
  1030	 */
  1031	enum rkisp1_ext_params_block_type {
  1032		/* "Other" block group types. */
> 1033		RKISP1_EXT_PARAMS_BLS = RKISP1_EXT_PARAMS_BLOCK_ID_BLS |
  1034				        RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1035		RKISP1_EXT_PARAMS_DPCC = RKISP1_EXT_PARAMS_BLOCK_ID_DPCC |
  1036				         RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1037		RKISP1_EXT_PARAMS_SDG = RKISP1_EXT_PARAMS_BLOCK_ID_SDG |
  1038				        RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1039		RKISP1_EXT_PARAMS_AWB_GAINS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_GAINS |
  1040					      RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1041		RKISP1_EXT_PARAMS_FLT = RKISP1_EXT_PARAMS_BLOCK_ID_FLT |
  1042					RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1043		RKISP1_EXT_PARAMS_BDM = RKISP1_EXT_PARAMS_BLOCK_ID_BDM |
  1044					RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1045		RKISP1_EXT_PARAMS_CTK = RKISP1_EXT_PARAMS_BLOCK_ID_CTK |
  1046					RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1047		RKISP1_EXT_PARAMS_GOC = RKISP1_EXT_PARAMS_BLOCK_ID_GOC |
  1048					RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1049		RKISP1_EXT_PARAMS_DPF = RKISP1_EXT_PARAMS_BLOCK_ID_DPF |
  1050					RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1051		RKISP1_EXT_PARAMS_DPF_STRENGHT = RKISP1_EXT_PARAMS_BLOCK_ID_DPF_STRENGHT |
  1052						 RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1053		RKISP1_EXT_PARAMS_CPROC = RKISP1_EXT_PARAMS_BLOCK_ID_CPROC |
  1054					  RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1055		RKISP1_EXT_PARAMS_IE = RKISP1_EXT_PARAMS_BLOCK_ID_IE |
  1056				       RKISP1_EXT_PARAMS_BLOCK_GROUP_OTHERS,
  1057	
  1058		/* "LSC" block group types. */
  1059		RKISP1_EXT_PARAMS_LSC = RKISP1_EXT_PARAMS_BLOCK_ID_LSC |
  1060					RKISP1_EXT_PARAMS_BLOCK_GROUP_LSC,
  1061	
  1062		/* "Meas" block group types. */
  1063		RKISP1_EXT_PARAMS_AWB_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AWB_MEAS |
  1064					     RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
  1065		RKISP1_EXT_PARAMS_HST_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_HST_MEAS |
  1066					     RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
  1067		RKISP1_EXT_PARAMS_AEC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AEC_MEAS |
  1068					     RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
  1069		RKISP1_EXT_PARAMS_AFC_MEAS = RKISP1_EXT_PARAMS_BLOCK_ID_AFC_MEAS |
  1070					     RKISP1_EXT_PARAMS_BLOCK_GROUP_MEAS,
  1071	};
  1072	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-31 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 13:11 [jmondi:imx8mp/iob-gitlab/v6.9/extensible-format 1/7] include/uapi/linux/rkisp1-config.h:1033:57: warning: bitwise operation between different enumeration types ('enum rkisp1_ext_params_block_id' and 'enum rkisp1_ext_params_block_group') kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox