aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-24 16:41:39 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-24 16:41:39 -0400
commit229aebb873e29726b91e076161649cf45154b0bf (patch)
treeacc02a3702215bce8d914f4c8cc3d7a1382b1c67 /drivers/scsi
parent8de547e1824437f3c6af180d3ed2162fa4b3f389 (diff)
parent50a23e6eec6f20d55a3a920e47adb455bff6046e (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits) Update broken web addresses in arch directory. Update broken web addresses in the kernel. Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget Revert "Fix typo: configuation => configuration" partially ida: document IDA_BITMAP_LONGS calculation ext2: fix a typo on comment in ext2/inode.c drivers/scsi: Remove unnecessary casts of private_data drivers/s390: Remove unnecessary casts of private_data net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data drivers/infiniband: Remove unnecessary casts of private_data drivers/gpu/drm: Remove unnecessary casts of private_data kernel/pm_qos_params.c: Remove unnecessary casts of private_data fs/ecryptfs: Remove unnecessary casts of private_data fs/seq_file.c: Remove unnecessary casts of private_data arm: uengine.c: remove C99 comments arm: scoop.c: remove C99 comments Fix typo configue => configure in comments Fix typo: configuation => configuration Fix typo interrest[ing|ed] => interest[ing|ed] Fix various typos of valid in comments ... Fix up trivial conflicts in: drivers/char/ipmi/ipmi_si_intf.c drivers/usb/gadget/rndis.c net/irda/irnet/irnet_ppp.c
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/Kconfig9
-rw-r--r--drivers/scsi/aacraid/linit.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c2
-rw-r--r--drivers/scsi/sg.c2
4 files changed, 8 insertions, 7 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 2e9632e2c98b..8616496ffc02 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -116,7 +116,7 @@ config CHR_DEV_OSST
116 <http://www.tldp.org/docs.html#howto> and 116 <http://www.tldp.org/docs.html#howto> and
117 <file:Documentation/scsi/osst.txt> in the kernel source. 117 <file:Documentation/scsi/osst.txt> in the kernel source.
118 More info on the OnStream driver may be found on 118 More info on the OnStream driver may be found on
119 <http://linux1.onstream.nl/test/> 119 <http://sourceforge.net/projects/osst/>
120 Please also have a look at the standard st docu, as most of it 120 Please also have a look at the standard st docu, as most of it
121 applies to osst as well. 121 applies to osst as well.
122 122
@@ -156,9 +156,9 @@ config CHR_DEV_SG
156 directly, so you need some additional software which knows how to 156 directly, so you need some additional software which knows how to
157 talk to these devices using the SCSI protocol: 157 talk to these devices using the SCSI protocol:
158 158
159 For scanners, look at SANE (<http://www.mostang.com/sane/>). For CD 159 For scanners, look at SANE (<http://www.sane-project.org/>). For CD
160 writer software look at Cdrtools 160 writer software look at Cdrtools
161 (<http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html>) 161 (<http://cdrecord.berlios.de/private/cdrecord.html>)
162 and for burning a "disk at once": CDRDAO 162 and for burning a "disk at once": CDRDAO
163 (<http://cdrdao.sourceforge.net/>). Cdparanoia is a high 163 (<http://cdrdao.sourceforge.net/>). Cdparanoia is a high
164 quality digital reader of audio CDs (<http://www.xiph.org/paranoia/>). 164 quality digital reader of audio CDs (<http://www.xiph.org/paranoia/>).
@@ -951,6 +951,7 @@ config SCSI_IPS
951 ---help--- 951 ---help---
952 This is support for the IBM ServeRAID hardware RAID controllers. 952 This is support for the IBM ServeRAID hardware RAID controllers.
953 See <http://www.developer.ibm.com/welcome/netfinity/serveraid.html> 953 See <http://www.developer.ibm.com/welcome/netfinity/serveraid.html>
954 and <http://www-947.ibm.com/support/entry/portal/docdisplay?brand=5000008&lndocid=SERV-RAID>
954 for more information. If this driver does not work correctly 955 for more information. If this driver does not work correctly
955 without modification please contact the author by email at 956 without modification please contact the author by email at
956 <ipslinux@adaptec.com>. 957 <ipslinux@adaptec.com>.
@@ -1610,7 +1611,7 @@ config SCSI_DEBUG
1610 host adapter with one dummy SCSI disk. Each dummy disk uses kernel 1611 host adapter with one dummy SCSI disk. Each dummy disk uses kernel
1611 RAM as storage (i.e. it is a ramdisk). To save space when multiple 1612 RAM as storage (i.e. it is a ramdisk). To save space when multiple
1612 dummy disks are simulated, they share the same kernel RAM for 1613 dummy disks are simulated, they share the same kernel RAM for
1613 their storage. See <http://www.torque.net/sg/sdebug.html> for more 1614 their storage. See <http://sg.danny.cz/sg/sdebug26.html> for more
1614 information. This driver is primarily of use to those testing the 1615 information. This driver is primarily of use to those testing the
1615 SCSI and block subsystems. If unsure, say N. 1616 SCSI and block subsystems. If unsure, say N.
1616 1617
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index dae46d779c7b..29c0ed1cf507 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -771,7 +771,7 @@ static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long
771{ 771{
772 if (!capable(CAP_SYS_RAWIO)) 772 if (!capable(CAP_SYS_RAWIO))
773 return -EPERM; 773 return -EPERM;
774 return aac_compat_do_ioctl((struct aac_dev *)file->private_data, cmd, arg); 774 return aac_compat_do_ioctl(file->private_data, cmd, arg);
775} 775}
776#endif 776#endif
777 777
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index c3d7174e3469..a345dde16c86 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -5509,7 +5509,7 @@ lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type)
5509 * @buff: Buffer containing config region 23 data. 5509 * @buff: Buffer containing config region 23 data.
5510 * @size: Size of the data buffer. 5510 * @size: Size of the data buffer.
5511 * 5511 *
5512 * This fuction parse the FCoE config parameters in config region 23 and 5512 * This function parses the FCoE config parameters in config region 23 and
5513 * populate driver data structure with the parameters. 5513 * populate driver data structure with the parameters.
5514 */ 5514 */
5515void 5515void
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index 5428d53f5a13..909ed9ed24c0 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -212,7 +212,7 @@ static void sg_put_dev(Sg_device *sdp);
212 212
213static int sg_allow_access(struct file *filp, unsigned char *cmd) 213static int sg_allow_access(struct file *filp, unsigned char *cmd)
214{ 214{
215 struct sg_fd *sfp = (struct sg_fd *)filp->private_data; 215 struct sg_fd *sfp = filp->private_data;
216 216
217 if (sfp->parentdp->device->type == TYPE_SCANNER) 217 if (sfp->parentdp->device->type == TYPE_SCANNER)
218 return 0; 218 return 0;