[PATCH 2/2] backlight: Add Kinetic KTD2801 driver
kernel test robot
lkp at intel.com
Thu Oct 19 01:14:21 UTC 2023
Hi Duje,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa]
url: https://github.com/intel-lab-lkp/linux/commits/Duje-Mihanovi/dt-bindings-backlight-add-Kinetic-KTD2801-binding/20231006-025106
base: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
patch link: https://lore.kernel.org/r/20231005-ktd2801-v1-2-43cd85b0629a%40skole.hr
patch subject: [PATCH 2/2] backlight: Add Kinetic KTD2801 driver
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20231019/202310190928.NGF81Cxq-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231019/202310190928.NGF81Cxq-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310190928.NGF81Cxq-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/video/backlight/ktd2801-backlight.c:15:9: warning: 'DS' macro redefined [-Wmacro-redefined]
#define DS 5
^
arch/x86/include/uapi/asm/ptrace-abi.h:14:9: note: previous definition is here
#define DS 7
^
1 warning generated.
vim +/DS +15 drivers/video/backlight/ktd2801-backlight.c
8
9 #define EW_DELAY 150
10 #define EW_DET 270
11 #define LOW_BIT_HIGH 5
12 #define LOW_BIT_LOW (4 * HIGH_BIT_LOW)
13 #define HIGH_BIT_LOW 5
14 #define HIGH_BIT_HIGH (4 * HIGH_BIT_LOW)
> 15 #define DS 5
16 #define EOD_L 10
17 #define EOD_H 350
18 #define PWR_DOWN_DELAY 2600
19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list