Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ebbb7594
Commit
ebbb7594
authored
Oct 16, 2016
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'mkp-scsi/4.9/scsi-fixes' into fixes
parents
1001354c
8a4236a2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_dbf.c
+1
-1
drivers/scsi/ipr.c
drivers/scsi/ipr.c
+1
-2
drivers/scsi/scsi_dh.c
drivers/scsi/scsi_dh.c
+3
-3
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_scan.c
+1
-5
No files found.
drivers/s390/scsi/zfcp_dbf.c
View file @
ebbb7594
...
@@ -384,7 +384,7 @@ void zfcp_dbf_san(char *tag, struct zfcp_dbf *dbf,
...
@@ -384,7 +384,7 @@ void zfcp_dbf_san(char *tag, struct zfcp_dbf *dbf,
/* if (len > rec_len):
/* if (len > rec_len):
* dump data up to cap_len ignoring small duplicate in rec->payload
* dump data up to cap_len ignoring small duplicate in rec->payload
*/
*/
spin_lock
_irqsave
(
&
dbf
->
pay_lock
,
flags
);
spin_lock
(
&
dbf
->
pay_lock
);
memset
(
payload
,
0
,
sizeof
(
*
payload
));
memset
(
payload
,
0
,
sizeof
(
*
payload
));
memcpy
(
payload
->
area
,
paytag
,
ZFCP_DBF_TAG_LEN
);
memcpy
(
payload
->
area
,
paytag
,
ZFCP_DBF_TAG_LEN
);
payload
->
fsf_req_id
=
req_id
;
payload
->
fsf_req_id
=
req_id
;
...
...
drivers/scsi/ipr.c
View file @
ebbb7594
...
@@ -2586,7 +2586,6 @@ static void ipr_process_error(struct ipr_cmnd *ipr_cmd)
...
@@ -2586,7 +2586,6 @@ static void ipr_process_error(struct ipr_cmnd *ipr_cmd)
struct
ipr_hostrcb
*
hostrcb
=
ipr_cmd
->
u
.
hostrcb
;
struct
ipr_hostrcb
*
hostrcb
=
ipr_cmd
->
u
.
hostrcb
;
u32
ioasc
=
be32_to_cpu
(
ipr_cmd
->
s
.
ioasa
.
hdr
.
ioasc
);
u32
ioasc
=
be32_to_cpu
(
ipr_cmd
->
s
.
ioasa
.
hdr
.
ioasc
);
u32
fd_ioasc
;
u32
fd_ioasc
;
char
*
envp
[]
=
{
"ASYNC_ERR_LOG=1"
,
NULL
};
if
(
ioa_cfg
->
sis64
)
if
(
ioa_cfg
->
sis64
)
fd_ioasc
=
be32_to_cpu
(
hostrcb
->
hcam
.
u
.
error64
.
fd_ioasc
);
fd_ioasc
=
be32_to_cpu
(
hostrcb
->
hcam
.
u
.
error64
.
fd_ioasc
);
...
@@ -2607,8 +2606,8 @@ static void ipr_process_error(struct ipr_cmnd *ipr_cmd)
...
@@ -2607,8 +2606,8 @@ static void ipr_process_error(struct ipr_cmnd *ipr_cmd)
}
}
list_add_tail
(
&
hostrcb
->
queue
,
&
ioa_cfg
->
hostrcb_report_q
);
list_add_tail
(
&
hostrcb
->
queue
,
&
ioa_cfg
->
hostrcb_report_q
);
schedule_work
(
&
ioa_cfg
->
work_q
);
hostrcb
=
ipr_get_free_hostrcb
(
ioa_cfg
);
hostrcb
=
ipr_get_free_hostrcb
(
ioa_cfg
);
kobject_uevent_env
(
&
ioa_cfg
->
host
->
shost_dev
.
kobj
,
KOBJ_CHANGE
,
envp
);
ipr_send_hcam
(
ioa_cfg
,
IPR_HCAM_CDB_OP_CODE_LOG_DATA
,
hostrcb
);
ipr_send_hcam
(
ioa_cfg
,
IPR_HCAM_CDB_OP_CODE_LOG_DATA
,
hostrcb
);
}
}
...
...
drivers/scsi/scsi_dh.c
View file @
ebbb7594
...
@@ -36,9 +36,9 @@ struct scsi_dh_blist {
...
@@ -36,9 +36,9 @@ struct scsi_dh_blist {
};
};
static
const
struct
scsi_dh_blist
scsi_dh_blist
[]
=
{
static
const
struct
scsi_dh_blist
scsi_dh_blist
[]
=
{
{
"DGC"
,
"RAID"
,
"
clariion
"
},
{
"DGC"
,
"RAID"
,
"
emc
"
},
{
"DGC"
,
"DISK"
,
"
clariion
"
},
{
"DGC"
,
"DISK"
,
"
emc
"
},
{
"DGC"
,
"VRAID"
,
"
clariion
"
},
{
"DGC"
,
"VRAID"
,
"
emc
"
},
{
"COMPAQ"
,
"MSA1000 VOLUME"
,
"hp_sw"
},
{
"COMPAQ"
,
"MSA1000 VOLUME"
,
"hp_sw"
},
{
"COMPAQ"
,
"HSV110"
,
"hp_sw"
},
{
"COMPAQ"
,
"HSV110"
,
"hp_sw"
},
...
...
drivers/scsi/scsi_scan.c
View file @
ebbb7594
...
@@ -1307,7 +1307,6 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget,
...
@@ -1307,7 +1307,6 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget,
static
int
scsi_report_lun_scan
(
struct
scsi_target
*
starget
,
int
bflags
,
static
int
scsi_report_lun_scan
(
struct
scsi_target
*
starget
,
int
bflags
,
enum
scsi_scan_mode
rescan
)
enum
scsi_scan_mode
rescan
)
{
{
char
devname
[
64
];
unsigned
char
scsi_cmd
[
MAX_COMMAND_SIZE
];
unsigned
char
scsi_cmd
[
MAX_COMMAND_SIZE
];
unsigned
int
length
;
unsigned
int
length
;
u64
lun
;
u64
lun
;
...
@@ -1349,9 +1348,6 @@ static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
...
@@ -1349,9 +1348,6 @@ static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
}
}
}
}
sprintf
(
devname
,
"host %d channel %d id %d"
,
shost
->
host_no
,
sdev
->
channel
,
sdev
->
id
);
/*
/*
* Allocate enough to hold the header (the same size as one scsi_lun)
* Allocate enough to hold the header (the same size as one scsi_lun)
* plus the number of luns we are requesting. 511 was the default
* plus the number of luns we are requesting. 511 was the default
...
@@ -1470,12 +1466,12 @@ static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
...
@@ -1470,12 +1466,12 @@ static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
out_err:
out_err:
kfree
(
lun_data
);
kfree
(
lun_data
);
out:
out:
scsi_device_put
(
sdev
);
if
(
scsi_device_created
(
sdev
))
if
(
scsi_device_created
(
sdev
))
/*
/*
* the sdev we used didn't appear in the report luns scan
* the sdev we used didn't appear in the report luns scan
*/
*/
__scsi_remove_device
(
sdev
);
__scsi_remove_device
(
sdev
);
scsi_device_put
(
sdev
);
return
ret
;
return
ret
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment