aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2017-10-20 03:12:42 +0000
committerUlf Hansson <[email protected]>2017-10-20 09:24:58 +0000
commit48e1dc10a9440872c0fc07a7fbcfce177f996fd4 (patch)
tree128c3f5257c96ff7b8c42d512269d1526002a17a /drivers/scsi/libsas/sas_init.c
parentmmc: tmio: fix swiotlb buffer is full (diff)
downloadkernel-48e1dc10a9440872c0fc07a7fbcfce177f996fd4.tar.gz
kernel-48e1dc10a9440872c0fc07a7fbcfce177f996fd4.zip
mmc: renesas_sdhi: fix kernel panic in _internal_dmac.c
Since this driver checks if the return value of dma_map_sg() is minus or not and keeps to enable the DMAC, it may cause kernel panic when the dma_map_sg() returns 0. So, this patch fixes the issue. Reported-by: Dirk Behme <[email protected]> Fixes: 2a68ea7896e3 ("mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC") Signed-off-by: Yoshihiro Shimoda <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions