linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asmaa Mnebhi <Asmaa@mellanox.com>,
	linus.walleij@linaro.org, bgolaszewski@baylibre.com
Cc: kbuild-all@lists.01.org, Asmaa Mnebhi <asmaa@nvidia.com>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/1] gpio: Support interrupts in gpio-mlxbf2.c
Date: Thu, 11 Mar 2021 06:53:58 +0800	[thread overview]
Message-ID: <202103110608.NJ53kxIS-lkp@intel.com> (raw)
In-Reply-To: <4d45ea382c7a74f7e351b7e1e1f670ce41bd65ab.1615403091.git.asmaa@nvidia.com>

[-- Attachment #1: Type: text/plain, Size: 2505 bytes --]

Hi Asmaa,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on gpio/for-next]
[also build test WARNING 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@intel.com>

All warnings (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 +/gs +332 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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67782 bytes --]

  parent reply	other threads:[~2021-03-10 22:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 19:14 [PATCH v2 1/1] gpio: Support interrupts in gpio-mlxbf2.c Asmaa Mnebhi
2021-03-10 19:33 ` Asmaa Mnebhi
2021-03-10 22:53 ` kernel test robot [this message]
2021-03-11  1:11 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103110608.NJ53kxIS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Asmaa@mellanox.com \
    --cc=asmaa@nvidia.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).