summaryrefslogtreecommitdiff
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2020-04-13 19:29:21 +0800
committerBen Hutchings <ben@decadent.org.uk>2020-06-11 19:05:51 +0100
commitd3f4ead8e811140787bf39052a4bd2893fbf56b2 (patch)
tree53408d2559454323a51dc2d841cf2598e146bbca /include/linux/mod_devicetable.h
parented1c1e63c58ed1f7067f8bb5c439c958dc1c2d18 (diff)
scsi: sg: add sg_remove_request in sg_common_write
commit 849f8583e955dbe3a1806e03ecacd5e71cce0a08 upstream. If the dxfer_len is greater than 256M then the request is invalid and we need to call sg_remove_request in sg_common_write. Link: https://lore.kernel.org/r/1586777361-17339-1-git-send-email-huawei.libin@huawei.com Fixes: f930c7043663 ("scsi: sg: only check for dxfer_len greater than 256M") Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Li Bin <huawei.libin@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/mod_devicetable.h')
0 files changed, 0 insertions, 0 deletions