mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-08 00:38:04 +07:00
[SCSI] Missing const in sr_vendor
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>
This commit is contained in:
parent
19c65091c1
commit
7b32b8e018
@ -68,8 +68,8 @@ void sr_vendor_init(Scsi_CD *cd)
|
|||||||
#ifndef CONFIG_BLK_DEV_SR_VENDOR
|
#ifndef CONFIG_BLK_DEV_SR_VENDOR
|
||||||
cd->vendor = VENDOR_SCSI3;
|
cd->vendor = VENDOR_SCSI3;
|
||||||
#else
|
#else
|
||||||
char *vendor = cd->device->vendor;
|
const char *vendor = cd->device->vendor;
|
||||||
char *model = cd->device->model;
|
const char *model = cd->device->model;
|
||||||
|
|
||||||
/* default */
|
/* default */
|
||||||
cd->vendor = VENDOR_SCSI3;
|
cd->vendor = VENDOR_SCSI3;
|
||||||
|
Loading…
Reference in New Issue
Block a user