[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202211251042.YMBrhg7Z-lkp@intel.com>
Date: Fri, 25 Nov 2022 10:37:57 +0800
From: kernel test robot <lkp@...el.com>
To: Martin Kurbanov <mmkurbanov@...rdevices.ru>,
Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Jonathan Corbet <corbet@....net>,
Andy Shevchenko <andy.shevchenko@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, kernel@...rdevices.ru,
Martin Kurbanov <mmkurbanov@...rdevices.ru>
Subject: Re: [PATCH v1 2/2] leds: add aw20xx driver
Hi Martin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pavel-leds/for-next]
[also build test WARNING on robh/for-next krzk-dt/for-next linus/master v6.1-rc6 next-20221124]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Martin-Kurbanov/leds-add-aw20xx-driver/20221125-044946
base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
patch link: https://lore.kernel.org/r/20221124204807.1593241-3-mmkurbanov%40sberdevices.ru
patch subject: [PATCH v1 2/2] leds: add aw20xx driver
config: sparc-allyesconfig
compiler: sparc64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/7dd31514a1ac86c2213320eef707cdaf0643ac6f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Martin-Kurbanov/leds-add-aw20xx-driver/20221125-044946
git checkout 7dd31514a1ac86c2213320eef707cdaf0643ac6f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/leds/leds-aw200xx.c:19: warning: expecting prototype for leds(). Prototype was for AW200XX_LEDS_MAX() instead
vim +19 drivers/leds/leds-aw200xx.c
18
> 19 #define AW200XX_LEDS_MAX 72
20 #define AW200XX_PATTERN_MAX 3
21 #define AW200XX_DIM_MAX 0x3F
22 #define AW200XX_FADE_MAX 0xFF
23 #define AW200XX_IMAX_MAX 15
24 #define AW200XX_IMAX_DEFAULT 4 /* 60mA */
25
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (322210 bytes)
Powered by blists - more mailing lists