Re: [PATCH 09/15] gpio: support ROHM BD71815 GPOs

From: kernel test robot
Date: Fri Jan 08 2021 - 14:30:00 EST


Hi Matti,

I love your patch! Perhaps something to improve:

[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on regulator/for-next abelloni/rtc-next v5.11-rc2 next-20210108]
[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]

url: https://github.com/0day-ci/linux/commits/Matti-Vaittinen/Support-ROHM-BD71815-PMIC/20210108-215230
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: powerpc64-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/67af8e83e681acc78ab2552025592e881252e470
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Matti-Vaittinen/Support-ROHM-BD71815-PMIC/20210108-215230
git checkout 67af8e83e681acc78ab2552025592e881252e470
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/gpio/gpio-bd71815.c:5: warning: "DEBUG" redefined
5 | #define DEBUG
|
<command-line>: note: this is the location of the previous definition


vim +/DEBUG +5 drivers/gpio/gpio-bd71815.c

> 5 #define DEBUG
6 #include <linux/module.h>
7 #include <linux/init.h>
8 #include <linux/kthread.h>
9 #include <linux/irq.h>
10 #include <linux/gpio/driver.h>
11 #include <linux/platform_device.h>
12 #include <linux/of.h>
13 #include <linux/mfd/rohm-bd71815.h>
14 #include <linux/mfd/rohm-generic.h>
15

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip