Re: [PATCH 2/2] misc: bm92txx: Add driver for the ROHM BM92Txx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230826/202308260240.OBZU72Ht-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308260240.OBZU72Ht-lkp@xxxxxxxxx/

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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux