[sailus-media-tree:metadata-raw 53/58] include/uapi/linux/v4l2-controls.h:1235:9: warning: 'V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL' macro redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/sailus/media_tree.git metadata-raw
head:   0e59c4e23bb8fe4a5c206cfbeabef1405c6df8b0
commit: b6809d1089a75ee690514c533a6d7e2e6a5e7353 [53/58] media: v4l: uapi: Add a control for colour pattern flipping effect
config: arm-randconfig-001-20250122 (https://download.01.org/0day-ci/archive/20250122/202501221338.bsfIQBc7-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250122/202501221338.bsfIQBc7-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501221338.bsfIQBc7-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/leds/flash/leds-aat1290.c:21:
   In file included from include/media/v4l2-flash-led-class.h:12:
   In file included from include/media/v4l2-ctrls.h:13:
   In file included from include/linux/videodev2.h:61:
   In file included from include/uapi/linux/videodev2.h:67:
>> include/uapi/linux/v4l2-controls.h:1235:9: warning: 'V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL' macro redefined [-Wmacro-redefined]
    1235 | #define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL     (1U << 1)
         |         ^
   include/uapi/linux/v4l2-controls.h:1234:9: note: previous definition is here
    1234 | #define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL     (1U << 0)
         |         ^
   In file included from drivers/leds/flash/leds-aat1290.c:21:
   In file included from include/media/v4l2-flash-led-class.h:12:
   In file included from include/media/v4l2-ctrls.h:14:
   In file included from include/media/media-request.h:20:
   In file included from include/media/media-device.h:16:
   In file included from include/linux/pci.h:2686:
   In file included from include/linux/dma-mapping.h:8:
   In file included from include/linux/scatterlist.h:8:
   In file included from include/linux/mm.h:2223:
   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_"
         |                               ~~~~~~~~~~~ ^ ~~~
   2 warnings generated.
--
   In file included from drivers/leds/flash/leds-max77693.c:14:
   In file included from include/linux/mfd/max77693-private.h:14:
   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:2223:
   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_"
         |                               ~~~~~~~~~~~ ^ ~~~
   In file included from drivers/leds/flash/leds-max77693.c:20:
   In file included from include/media/v4l2-flash-led-class.h:12:
   In file included from include/media/v4l2-ctrls.h:13:
   In file included from include/linux/videodev2.h:61:
   In file included from include/uapi/linux/videodev2.h:67:
>> include/uapi/linux/v4l2-controls.h:1235:9: warning: 'V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL' macro redefined [-Wmacro-redefined]
    1235 | #define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL     (1U << 1)
         |         ^
   include/uapi/linux/v4l2-controls.h:1234:9: note: previous definition is here
    1234 | #define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL     (1U << 0)
         |         ^
   2 warnings generated.


vim +/V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL +1235 include/uapi/linux/v4l2-controls.h

  1232	
  1233	#define V4L2_CID_COLOUR_PATTERN_FLIP		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 11)
  1234	#define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL	(1U << 0)
> 1235	#define V4L2_COLOUR_PATTERN_FLIP_HORIZONTAL	(1U << 1)
  1236	

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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux