All of lore.kernel.org
 help / color / mirror / Atom feed
* [brauner:rtm_newlink_device_ownership 1/2] fs/sysfs/group.c:517:7: error: 'i' undeclared; did you mean 'if'?
@ 2020-01-24  0:11 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-24  0:11 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git rtm_newlink_device_ownership
head:   243888ee6ac2403aca94cd301f0924d4aa39aa41
commit: 91729385f13f49fe695296117ee161976db3e5cb [1/2] save
config: x86_64-randconfig-f003-20200124 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout 91729385f13f49fe695296117ee161976db3e5cb
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   fs/sysfs/group.c: In function 'sysfs_group_change_owner':
   fs/sysfs/group.c:494:22: warning: unused variable 'kn' [-Wunused-variable]
     struct kernfs_node *kn;
                         ^~
   fs/sysfs/group.c: In function 'sysfs_groups_change_owner':
>> fs/sysfs/group.c:517:7: error: 'i' undeclared (first use in this function); did you mean 'if'?
     for (i = 0; groups[i]; i++) {
          ^
          if
   fs/sysfs/group.c:517:7: note: each undeclared identifier is reported only once for each function it appears in

vim +517 fs/sysfs/group.c

   508	
   509	int sysfs_groups_change_owner(struct kobject *kobj,
   510				      const struct attribute_group **groups)
   511	{
   512		int error = 0;
   513	
   514		if (!groups)
   515			return 0;
   516	
 > 517		for (i = 0; groups[i]; i++) {

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-24  0:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-24  0:11 [brauner:rtm_newlink_device_ownership 1/2] fs/sysfs/group.c:517:7: error: 'i' undeclared; did you mean 'if'? kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.