Re: [PATCH 14/14] libata-scsi: Set information sense field for invalid parameter

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

 



Hi Hannes,

[auto build test WARNING on tj-libata/for-next]
[also build test WARNING on v4.6-rc2 next-20160404]
[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/Hannes-Reinecke/libata-SATL-update/20160404-174817
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/libata for-next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   drivers/ata/libata-scsi.c:2414: warning: No description found for parameter 'dev'
>> drivers/ata/libata-scsi.c:3326: warning: No description found for parameter 'fp'
   drivers/ata/libata-scsi.c:3382: warning: No description found for parameter 'fp'
   drivers/ata/libata-scsi.c:2414: warning: No description found for parameter 'dev'
>> drivers/ata/libata-scsi.c:3326: warning: No description found for parameter 'fp'
   drivers/ata/libata-scsi.c:3382: warning: No description found for parameter 'fp'

vim +/fp +3326 drivers/ata/libata-scsi.c

18f0f978 drivers/ata/libata-scsi.c  Christoph Hellwig 2009-11-17  3310  	return 1;
18f0f978 drivers/ata/libata-scsi.c  Christoph Hellwig 2009-11-17  3311  }
18f0f978 drivers/ata/libata-scsi.c  Christoph Hellwig 2009-11-17  3312  
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds    2005-04-16  3313  /**
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3314   *	ata_mselect_caching - Simulate MODE SELECT for caching info page
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3315   *	@qc: Storage for translated ATA taskfile
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3316   *	@buf: input buffer
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3317   *	@len: number of valid bytes in the input buffer
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3318   *
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3319   *	Prepare a taskfile to modify caching information for the device.
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3320   *
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3321   *	LOCKING:
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3322   *	None.
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3323   */
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3324  static int ata_mselect_caching(struct ata_queued_cmd *qc,
c3f51c2f drivers/ata/libata-scsi.c  Hannes Reinecke   2016-04-04  3325  			       const u8 *buf, int len, u16 *fp)
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05 @3326  {
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3327  	struct ata_taskfile *tf = &qc->tf;
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3328  	struct ata_device *dev = qc->dev;
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3329  	char mpage[CACHE_MPAGE_LEN];
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3330  	u8 wce;
c3f51c2f drivers/ata/libata-scsi.c  Hannes Reinecke   2016-04-04  3331  	int i;
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3332  
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3333  	/*
1b26d29c drivers/ata/libata-scsi.c  Paolo Bonzini     2012-07-05  3334  	 * The first two bytes of def_cache_mpage are a header, so offsets

:::::: The code at line 3326 was first introduced by commit
:::::: 1b26d29ccd592ea585c7cc291384184c5568da92 [libata] scsi: implement MODE SELECT command

:::::: TO: Paolo Bonzini <pbonzini@xxxxxxxxxx>
:::::: CC: Jeff Garzik <jgarzik@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux