projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c6509
)
[SCSI] Missing const in sr_vendor
author
Matthew Wilcox
<matthew@wil.cx>
Sat, 17 Dec 2005 04:11:37 +0000
(21:11 -0700)
committer
James Bottomley
<jejb@mulgrave.(none)>
Sat, 17 Dec 2005 16:50:23 +0000
(10:50 -0600)
Fix compile warnings with current scsi-misc git tree
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sr_vendor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/sr_vendor.c
b/drivers/scsi/sr_vendor.c
index 78274dc91f5c74c0320702735856d90b4390968c..9dde8df2f5c9feccf5d3ae98daad805b37bcecd3 100644
(file)
--- a/
drivers/scsi/sr_vendor.c
+++ b/
drivers/scsi/sr_vendor.c
@@
-68,8
+68,8
@@
void sr_vendor_init(Scsi_CD *cd)
#ifndef CONFIG_BLK_DEV_SR_VENDOR
cd->vendor = VENDOR_SCSI3;
#else
- char *vendor = cd->device->vendor;
- char *model = cd->device->model;
+ c
onst c
har *vendor = cd->device->vendor;
+ c
onst c
har *model = cd->device->model;
/* default */
cd->vendor = VENDOR_SCSI3;