devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Cc: oe-kbuild-all@lists.linux.dev, azkali <a.ffcc7@gmail.com>,
	Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>,
	Adam Jiang <chaoj@nvidia.com>, CTCaer <ctcaer@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Derek Kiernan <derek.kiernan@amd.com>,
	Dragan Cvetic <dragan.cvetic@amd.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] misc: bm92txx: Add driver for the ROHM BM92Txx
Date: Sat, 26 Aug 2023 02:24:37 +0800	[thread overview]
Message-ID: <202308260240.OBZU72Ht-lkp@intel.com> (raw)
In-Reply-To: <20230824153059.212244-3-linkmauve@linkmauve.fr>

Hi Emmanuel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on char-misc/char-misc-next char-misc/char-misc-linus robh/for-next linus/master v6.5-rc7 next-20230825]
[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/Emmanuel-Gil-Peyrot/dt-bindings-misc-rohm-bm92txx-Add-BM92Txx-support/20230824-233354
base:   char-misc/char-misc-testing
patch link:    https://lore.kernel.org/r/20230824153059.212244-3-linkmauve%40linkmauve.fr
patch subject: [PATCH 2/2] misc: bm92txx: Add driver for the ROHM BM92Txx
config: csky-randconfig-r036-20230826 (https://download.01.org/0day-ci/archive/20230826/202308260240.OBZU72Ht-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230826/202308260240.OBZU72Ht-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308260240.OBZU72Ht-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/misc/bm92txx.c: In function 'bm92t_remove':
>> drivers/misc/bm92txx.c:1800:28: warning: unused variable 'info' [-Wunused-variable]
    1800 |         struct bm92t_info *info = i2c_get_clientdata(client);
         |                            ^~~~
   drivers/misc/bm92txx.c: At top level:
>> drivers/misc/bm92txx.c:1179:13: warning: 'bm92t_usbhub_dp_sleep' defined but not used [-Wunused-function]
    1179 | static void bm92t_usbhub_dp_sleep(struct bm92t_info *info, bool sleep)
         |             ^~~~~~~~~~~~~~~~~~~~~


vim +/info +1800 drivers/misc/bm92txx.c

  1797	
  1798	static void bm92t_remove(struct i2c_client *client)
  1799	{
> 1800		struct bm92t_info *info = i2c_get_clientdata(client);
  1801	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2023-08-25 18:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 15:30 [PATCH 0/2] Add a driver for the ROHM BM92Txx USB-C Power Delivery controller Emmanuel Gil Peyrot
2023-08-24 15:30 ` [PATCH 1/2] dt-bindings: misc: rohm,bm92txx: Add BM92Txx support Emmanuel Gil Peyrot
2023-08-24 16:16   ` Krzysztof Kozlowski
2023-08-24 15:30 ` [PATCH 2/2] misc: bm92txx: Add driver for the ROHM BM92Txx Emmanuel Gil Peyrot
2023-08-24 15:40   ` Greg Kroah-Hartman
2023-08-24 16:26   ` Krzysztof Kozlowski
2023-08-24 16:28   ` Krzysztof Kozlowski
2023-08-28 15:06     ` Emmanuel Gil Peyrot
2023-08-28 17:05       ` Krzysztof Kozlowski
2023-08-28 17:08         ` Krzysztof Kozlowski
2023-08-25 18:24   ` kernel test robot [this message]
2023-08-25 18:45   ` 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=202308260240.OBZU72Ht-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=a.ffcc7@gmail.com \
    --cc=arnd@arndb.de \
    --cc=chaoj@nvidia.com \
    --cc=conor+dt@kernel.org \
    --cc=ctcaer@gmail.com \
    --cc=derek.kiernan@amd.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dragan.cvetic@amd.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzk@kernel.org \
    --cc=linkmauve@linkmauve.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh+dt@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).