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
nexedi
linux
Commits
a7dee8f4
Commit
a7dee8f4
authored
Mar 15, 2016
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into misc
parents
7ee7895c
5ecee0a3
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
4 deletions
+17
-4
drivers/md/dm.c
drivers/md/dm.c
+2
-0
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/omap_hsmmc.c
+2
-0
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.c
+1
-0
drivers/scsi/ipr.c
drivers/scsi/ipr.c
+5
-0
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_lib.c
+1
-0
drivers/scsi/sd.c
drivers/scsi/sd.c
+1
-1
drivers/scsi/sg.c
drivers/scsi/sg.c
+2
-1
drivers/scsi/storvsc_drv.c
drivers/scsi/storvsc_drv.c
+3
-2
No files found.
drivers/md/dm.c
View file @
a7dee8f4
...
...
@@ -1191,6 +1191,8 @@ static void dm_unprep_request(struct request *rq)
if
(
clone
)
free_rq_clone
(
clone
);
else
if
(
!
tio
->
md
->
queue
->
mq_ops
)
free_rq_tio
(
tio
);
}
/*
...
...
drivers/mmc/host/omap_hsmmc.c
View file @
a7dee8f4
...
...
@@ -2232,6 +2232,7 @@ static int omap_hsmmc_probe(struct platform_device *pdev)
dma_release_channel
(
host
->
tx_chan
);
if
(
host
->
rx_chan
)
dma_release_channel
(
host
->
rx_chan
);
pm_runtime_dont_use_autosuspend
(
host
->
dev
);
pm_runtime_put_sync
(
host
->
dev
);
pm_runtime_disable
(
host
->
dev
);
if
(
host
->
dbclk
)
...
...
@@ -2253,6 +2254,7 @@ static int omap_hsmmc_remove(struct platform_device *pdev)
dma_release_channel
(
host
->
tx_chan
);
dma_release_channel
(
host
->
rx_chan
);
pm_runtime_dont_use_autosuspend
(
host
->
dev
);
pm_runtime_put_sync
(
host
->
dev
);
pm_runtime_disable
(
host
->
dev
);
device_init_wakeup
(
&
pdev
->
dev
,
false
);
...
...
drivers/scsi/be2iscsi/be_main.c
View file @
a7dee8f4
...
...
@@ -4493,6 +4493,7 @@ static int beiscsi_setup_boot_info(struct beiscsi_hba *phba)
scsi_host_put
(
phba
->
shost
);
free_kset:
iscsi_boot_destroy_kset
(
phba
->
boot_kset
);
phba
->
boot_kset
=
NULL
;
return
-
ENOMEM
;
}
...
...
drivers/scsi/ipr.c
View file @
a7dee8f4
...
...
@@ -4002,6 +4002,7 @@ static ssize_t ipr_store_update_fw(struct device *dev,
struct
ipr_sglist
*
sglist
;
char
fname
[
100
];
char
*
src
;
char
*
endline
;
int
result
,
dnld_size
;
if
(
!
capable
(
CAP_SYS_ADMIN
))
...
...
@@ -4009,6 +4010,10 @@ static ssize_t ipr_store_update_fw(struct device *dev,
snprintf
(
fname
,
sizeof
(
fname
),
"%s"
,
buf
);
endline
=
strchr
(
fname
,
'\n'
);
if
(
endline
)
*
endline
=
'\0'
;
if
(
request_firmware
(
&
fw_entry
,
fname
,
&
ioa_cfg
->
pdev
->
dev
))
{
dev_err
(
&
ioa_cfg
->
pdev
->
dev
,
"Firmware file %s not found
\n
"
,
fname
);
return
-
EIO
;
...
...
drivers/scsi/scsi_lib.c
View file @
a7dee8f4
...
...
@@ -1344,6 +1344,7 @@ scsi_prep_return(struct request_queue *q, struct request *req, int ret)
switch
(
ret
)
{
case
BLKPREP_KILL
:
case
BLKPREP_INVALID
:
req
->
errors
=
DID_NO_CONNECT
<<
16
;
/* release the command and kill it */
if
(
req
->
special
)
{
...
...
drivers/scsi/sd.c
View file @
a7dee8f4
...
...
@@ -648,7 +648,7 @@ static void sd_config_discard(struct scsi_disk *sdkp, unsigned int mode)
*/
if
(
sdkp
->
lbprz
)
{
q
->
limits
.
discard_alignment
=
0
;
q
->
limits
.
discard_granularity
=
1
;
q
->
limits
.
discard_granularity
=
logical_block_size
;
}
else
{
q
->
limits
.
discard_alignment
=
sdkp
->
unmap_alignment
*
logical_block_size
;
...
...
drivers/scsi/sg.c
View file @
a7dee8f4
...
...
@@ -652,7 +652,8 @@ sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
else
hp
->
dxfer_direction
=
(
mxsize
>
0
)
?
SG_DXFER_FROM_DEV
:
SG_DXFER_NONE
;
hp
->
dxfer_len
=
mxsize
;
if
(
hp
->
dxfer_direction
==
SG_DXFER_TO_DEV
)
if
((
hp
->
dxfer_direction
==
SG_DXFER_TO_DEV
)
||
(
hp
->
dxfer_direction
==
SG_DXFER_TO_FROM_DEV
))
hp
->
dxferp
=
(
char
__user
*
)
buf
+
cmd_size
;
else
hp
->
dxferp
=
NULL
;
...
...
drivers/scsi/storvsc_drv.c
View file @
a7dee8f4
...
...
@@ -914,8 +914,9 @@ static void storvsc_handle_error(struct vmscsi_request *vm_srb,
do_work
=
true
;
process_err_fn
=
storvsc_remove_lun
;
break
;
case
(
SRB_STATUS_ABORTED
|
SRB_STATUS_AUTOSENSE_VALID
):
if
((
asc
==
0x2a
)
&&
(
ascq
==
0x9
))
{
case
SRB_STATUS_ABORTED
:
if
(
vm_srb
->
srb_status
&
SRB_STATUS_AUTOSENSE_VALID
&&
(
asc
==
0x2a
)
&&
(
ascq
==
0x9
))
{
do_work
=
true
;
process_err_fn
=
storvsc_device_scan
;
/*
...
...
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