summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2020-04-13 19:29:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-24 07:57:21 +0200
commit82e798f39ee8eed9f38689127125565ddeb82f83 (patch)
tree8dabadb312b6b301e2f76ac6348f54e37d19726f /sound/pci/hda/hda_intel.c
parent7c6feb347a4bb1f02e55f6814c93b5f7fab887a8 (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>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
0 files changed, 0 insertions, 0 deletions