public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v7 7/7] nvmem: core: Expose cells through sysfs
       [not found] <20230801182132.1058707-8-miquel.raynal@bootlin.com>
@ 2023-08-02  7:40 ` kernel test robot
  2023-08-02 12:46   ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-08-02  7:40 UTC (permalink / raw)
  To: Miquel Raynal; +Cc: llvm, oe-kbuild-all

Hi Miquel,

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 linus/master v6.5-rc4 next-20230801]
[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/Miquel-Raynal/nvmem-core-Create-all-cells-before-adding-the-nvmem-device/20230802-022331
base:   char-misc/char-misc-testing
patch link:    https://lore.kernel.org/r/20230801182132.1058707-8-miquel.raynal%40bootlin.com
patch subject: [PATCH v7 7/7] nvmem: core: Expose cells through sysfs
config: x86_64-randconfig-x005-20230731 (https://download.01.org/0day-ci/archive/20230802/202308021505.FG8g7tZG-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230802/202308021505.FG8g7tZG-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/202308021505.FG8g7tZG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/nvmem/core.c:2264:1: warning: unused label 'del_cells' [-Wunused-label]
   del_cells:
   ^~~~~~~~~~
   1 warning generated.


vim +/del_cells +2264 drivers/nvmem/core.c

  2261	
  2262		return 0;
  2263	
> 2264	del_cells:
  2265		nvmem_device_remove_all_cells(nvmem);
  2266	put_layout:
  2267		nvmem_layout_put(nvmem->layout);
  2268		return ret;
  2269	}
  2270	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v7 7/7] nvmem: core: Expose cells through sysfs
  2023-08-02  7:40 ` [PATCH v7 7/7] nvmem: core: Expose cells through sysfs kernel test robot
@ 2023-08-02 12:46   ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2023-08-02 12:46 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, oe-kbuild-all

Hello,

lkp@intel.com wrote on Wed, 2 Aug 2023 15:40:10 +0800:

> Hi Miquel,
> 
> 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 linus/master v6.5-rc4 next-20230801]
> [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/Miquel-Raynal/nvmem-core-Create-all-cells-before-adding-the-nvmem-device/20230802-022331
> base:   char-misc/char-misc-testing
> patch link:    https://lore.kernel.org/r/20230801182132.1058707-8-miquel.raynal%40bootlin.com
> patch subject: [PATCH v7 7/7] nvmem: core: Expose cells through sysfs
> config: x86_64-randconfig-x005-20230731 (https://download.01.org/0day-ci/archive/20230802/202308021505.FG8g7tZG-lkp@intel.com/config)
> compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
> reproduce: (https://download.01.org/0day-ci/archive/20230802/202308021505.FG8g7tZG-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/202308021505.FG8g7tZG-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/nvmem/core.c:2264:1: warning: unused label 'del_cells' [-Wunused-label]  
>    del_cells:
>    ^~~~~~~~~~
>    1 warning generated.

This warning triggers with CONFIG_NVMEM_SYSFS=n, I'll fix that.
I'll wait a bit anyway to get some feedback about the new approach.

> 
> 
> vim +/del_cells +2264 drivers/nvmem/core.c
> 
>   2261	
>   2262		return 0;
>   2263	
> > 2264	del_cells:  
>   2265		nvmem_device_remove_all_cells(nvmem);
>   2266	put_layout:
>   2267		nvmem_layout_put(nvmem->layout);
>   2268		return ret;
>   2269	}
>   2270	
> 


Thanks,
Miquèl

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-02 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230801182132.1058707-8-miquel.raynal@bootlin.com>
2023-08-02  7:40 ` [PATCH v7 7/7] nvmem: core: Expose cells through sysfs kernel test robot
2023-08-02 12:46   ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox