mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found
@ 2023-11-21 21:12 kernel test robot
  2023-12-02  0:53 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-11-21 21:12 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: oe-kbuild-all, linux-kernel, Linus Walleij

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   98b1cc82c4affc16f5598d4fa14b1858671b2263
commit: d8f4494e70ae5fef159719bfbb6abedc53619bf1 pinctrl: mcp23s08: drop comment about missing irq support
date:   7 years ago
config: i386-randconfig-002-20231120 (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-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/202311220421.xKye7ZRO-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/pinctrl/pinctrl-mcp23s08.c: In function 'mcp_pinconf_set':
   drivers/pinctrl/pinctrl-mcp23s08.c:282:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
     u16 val;
         ^~~
   drivers/pinctrl/pinctrl-mcp23s08.c:281:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
     u32 arg, mask;
              ^~~~
>> drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found


vim +1 drivers/pinctrl/pinctrl-mcp23s08.c

   > 1	/* MCP23S08 SPI/I2C GPIO driver */
     2	

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

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

* Re: drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found
  2023-11-21 21:12 drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found kernel test robot
@ 2023-12-02  0:53 ` Randy Dunlap
  2023-12-05  6:43   ` Yujie Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2023-12-02  0:53 UTC (permalink / raw)
  To: kernel test robot, Sebastian Reichel
  Cc: oe-kbuild-all, linux-kernel, Linus Walleij

Hi lkp,

On 11/21/23 13:12, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   98b1cc82c4affc16f5598d4fa14b1858671b2263
> commit: d8f4494e70ae5fef159719bfbb6abedc53619bf1 pinctrl: mcp23s08: drop comment about missing irq support
> date:   7 years ago
> config: i386-randconfig-002-20231120 (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-lkp@intel.com/config)
> compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-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/202311220421.xKye7ZRO-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/pinctrl/pinctrl-mcp23s08.c: In function 'mcp_pinconf_set':
>    drivers/pinctrl/pinctrl-mcp23s08.c:282:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
>      u16 val;
>          ^~~
>    drivers/pinctrl/pinctrl-mcp23s08.c:281:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
>      u32 arg, mask;
>               ^~~~
>>> drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found
> 
> 
> vim +1 drivers/pinctrl/pinctrl-mcp23s08.c
> 
>    > 1	/* MCP23S08 SPI/I2C GPIO driver */
>      2	


What is the issue here?
I fail to see a problem.

I cannot reproduce the $Subject warning message.

-- 
~Randy

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

* Re: drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found
  2023-12-02  0:53 ` Randy Dunlap
@ 2023-12-05  6:43   ` Yujie Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Yujie Liu @ 2023-12-05  6:43 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: kernel test robot, Sebastian Reichel, oe-kbuild-all,
	linux-kernel, Linus Walleij

Hi Randy,

On Fri, Dec 01, 2023 at 04:53:22PM -0800, Randy Dunlap wrote:
> Hi lkp,
> 
> On 11/21/23 13:12, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   98b1cc82c4affc16f5598d4fa14b1858671b2263
> > commit: d8f4494e70ae5fef159719bfbb6abedc53619bf1 pinctrl: mcp23s08: drop comment about missing irq support
> > date:   7 years ago
> > config: i386-randconfig-002-20231120 (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-lkp@intel.com/config)
> > compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220421.xKye7ZRO-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/202311220421.xKye7ZRO-lkp@intel.com/
> > 
> > All warnings (new ones prefixed by >>):
> > 
> >    drivers/pinctrl/pinctrl-mcp23s08.c: In function 'mcp_pinconf_set':
> >    drivers/pinctrl/pinctrl-mcp23s08.c:282:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
> >      u16 val;
> >          ^~~
> >    drivers/pinctrl/pinctrl-mcp23s08.c:281:11: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
> >      u32 arg, mask;
> >               ^~~~
> >>> drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found
> > 
> > 
> > vim +1 drivers/pinctrl/pinctrl-mcp23s08.c
> > 
> >    > 1	/* MCP23S08 SPI/I2C GPIO driver */
> >      2	
> 
> 
> What is the issue here?
> I fail to see a problem.
> 
> I cannot reproduce the $Subject warning message.

Please ignore this false report of kernel-doc warning.
Sorry for the noise.

Best Regards,
Yujie

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

end of thread, other threads:[~2023-12-05  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 21:12 drivers/pinctrl/pinctrl-mcp23s08.c:1: warning: no structured comments found kernel test robot
2023-12-02  0:53 ` Randy Dunlap
2023-12-05  6:43   ` Yujie Liu

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

all inboxes | Powered by JetHome®