aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r--drivers/scsi/sr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index fb4012b5c188..a4d9be7c6874 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -320,7 +320,7 @@ static int sr_init_command(struct scsi_cmnd * SCpnt)
320 * these are already setup, just copy cdb basically 320 * these are already setup, just copy cdb basically
321 */ 321 */
322 if (SCpnt->request->flags & REQ_BLOCK_PC) { 322 if (SCpnt->request->flags & REQ_BLOCK_PC) {
323 scsi_setup_blk_pc_cmnd(SCpnt, MAX_RETRIES); 323 scsi_setup_blk_pc_cmnd(SCpnt);
324 324
325 if (SCpnt->timeout_per_command) 325 if (SCpnt->timeout_per_command)
326 timeout = SCpnt->timeout_per_command; 326 timeout = SCpnt->timeout_per_command;
@@ -716,7 +716,7 @@ static void get_capabilities(struct scsi_cd *cd)
716 unsigned int the_result; 716 unsigned int the_result;
717 int retries, rc, n; 717 int retries, rc, n;
718 718
719 static char *loadmech[] = 719 static const char *loadmech[] =
720 { 720 {
721 "caddy", 721 "caddy",
722 "tray", 722 "tray",