Hi Asmaa, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v5.12-rc2 next-20210310] [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/Asmaa-Mnebhi/gpio-Support-interrupts-in-gpio-mlxbf2-c/20210311-031707 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: riscv-allyesconfig (attached as .config) compiler: riscv64-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/8495cb2b31bda48cb427278a04332bc2d57a1614 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Asmaa-Mnebhi/gpio-Support-interrupts-in-gpio-mlxbf2-c/20210311-031707 git checkout 8495cb2b31bda48cb427278a04332bc2d57a1614 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/gpio/gpio-mlxbf2.c: In function 'mlxbf2_gpio_send_work': >> drivers/gpio/gpio-mlxbf2.c:336:2: error: implicit declaration of function 'acpi_bus_generate_netlink_event' [-Werror=implicit-function-declaration] 336 | acpi_bus_generate_netlink_event("button/power.*", "Power Button", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpio/gpio-mlxbf2.c:332:30: warning: variable 'gs' set but not used [-Wunused-but-set-variable] 332 | struct mlxbf2_gpio_context *gs; | ^~ cc1: some warnings being treated as errors vim +/acpi_bus_generate_netlink_event +336 drivers/gpio/gpio-mlxbf2.c 329 330 static void mlxbf2_gpio_send_work(struct work_struct *work) 331 { 332 struct mlxbf2_gpio_context *gs; 333 334 gs = container_of(work, struct mlxbf2_gpio_context, send_work); 335 > 336 acpi_bus_generate_netlink_event("button/power.*", "Power Button", 337 0x80, 1); 338 } 339 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip