Re: [PATCH V5 07/10] aacraid: Created new mutex for ioctl path

kbuild test robot
2016-02-03T07:36:41Z

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

Hi Raghava,

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.5-rc2 next-20160203]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Raghava-Aditya-Renukunta/aacraid-Patchset-for-aacraid-driver-version-41052/20160203-085108
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: x86_64-lkp (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Raghava-Aditya-Renukunta/aacraid-Patchset-for-aacraid-driver-version-41052/20160203-085108 HEAD 6b0bf60a881075778b6548999d5bc8d04268996b builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/scsi/aacraid/linit.c: In function 'aac_cfg_ioctl':
>> drivers/scsi/aacraid/linit.c:706:33: error: 'aac' undeclared (first use in this function)
if (!capable(CAP_SYS_RAWIO) || aac->adapter_shutdown)
^
drivers/scsi/aacraid/linit.c:706:33: note: each undeclared identifier is reported only once for each function it appears in

vim +/aac +706 drivers/scsi/aacraid/linit.c

^1da177e Linus Torvalds 2005-04-16 700 * Bugs: Needs to handle hot plugging
^1da177e Linus Torvalds 2005-04-16 701 */
^1da177e Linus Torvalds 2005-04-16 702
f4927c45 Arnd Bergmann 2010-04-27 703 static long aac_cfg_ioctl(struct file *file,
^1da177e Linus Torvalds 2005-04-16 704 unsigned int cmd, unsigned long arg)
^1da177e Linus Torvalds 2005-04-16 705 {
f9c42596 Mahesh Rajashekhara 2015-03-26 @706 if (!capable(CAP_SYS_RAWIO) || aac->adapter_shutdown)
60395bb6 Alan Cox 2007-07-23 707 return -EPERM;
99da1769 Raghava Aditya Renukunta 2016-02-02 708 return aac_do_ioctl(file->private_data, cmd, (void __user *)arg);
^1da177e Linus Torvalds 2005-04-16 709 }

:::::: The code at line 706 was first introduced by commit
:::::: f9c4259678cbde854a4e94398d66ef379178fd7c aacraid: IOCTL fix

:::::: TO: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
:::::: CC: James Bottomley <JBottomley@Odin.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22410 bytes --]