Re: [PATCH 10/14] libata: Implement control mode page to select sense format

[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:2375: warning: No description found for parameter 'dev'
>> drivers/ata/libata-scsi.c:2375: warning: No description found for parameter 'dev'

vim +/dev +2375 drivers/ata/libata-scsi.c

87340e98 drivers/ata/libata-scsi.c  Tejun Heo       2008-04-28  2359  		buf[12] |= (1 << 5);	/* disable read ahead */
87340e98 drivers/ata/libata-scsi.c  Tejun Heo       2008-04-28  2360  	return sizeof(def_cache_mpage);
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2361  }
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2362  
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2363  /**
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2364   *	ata_msense_ctl_mode - Simulate MODE SENSE control mode page
87340e98 drivers/ata/libata-scsi.c  Tejun Heo       2008-04-28  2365   *	@buf: output buffer
6ca8e794 drivers/ata/libata-scsi.c  Paolo Bonzini   2012-07-05  2366   *	@changeable: whether changeable parameters are requested
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2367   *
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2368   *	Generate a generic MODE SENSE control mode page.
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2369   *
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2370   *	LOCKING:
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2371   *	None.
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2372   */
50bb876e drivers/ata/libata-scsi.c  Hannes Reinecke 2016-04-04  2373  static unsigned int ata_msense_ctl_mode(struct ata_device *dev, u8 *buf,
50bb876e drivers/ata/libata-scsi.c  Hannes Reinecke 2016-04-04  2374  					bool changeable)
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16 @2375  {
6ca8e794 drivers/ata/libata-scsi.c  Paolo Bonzini   2012-07-05  2376  	modecpy(buf, def_control_mpage, sizeof(def_control_mpage), changeable);
50bb876e drivers/ata/libata-scsi.c  Hannes Reinecke 2016-04-04  2377  	if (changeable && (dev->flags & ATA_DFLAG_D_SENSE))
50bb876e drivers/ata/libata-scsi.c  Hannes Reinecke 2016-04-04  2378  		buf[2] |= (1 << 2);	/* Descriptor sense requested */
00ac37f5 drivers/scsi/libata-scsi.c Douglas Gilbert 2005-10-28  2379  	return sizeof(def_control_mpage);
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2380  }
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2381  
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2382  /**
^1da177e drivers/scsi/libata-scsi.c Linus Torvalds  2005-04-16  2383   *	ata_msense_rw_recovery - Simulate MODE SENSE r/w error recovery page

:::::: The code at line 2375 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
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