aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-01-12 16:31:56 +0800
committerUlf Hansson <[email protected]>2022-01-24 15:37:13 +0100
commit40c67c291a93f8846c4a972c9ef1b7ba4544c8d0 (patch)
treef7ba1c14c861dd2e0e7b38ce31069a1ccdb67eeb /net/unix/sysctl_net_unix.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
mmc: sdhci-of-esdhc: Check for error num after setting mask
Because of the possible failure of the dma_supported(), the dma_set_mask_and_coherent() may return error num. Therefore, it should be better to check it and return the error if fails. And since the sdhci_setup_host() has already checked the return value of the enable_dma, we need not check it in sdhci_resume_host() again. Fixes: 5552d7ad596c ("mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips") Signed-off-by: Jiasheng Jiang <[email protected]> Acked-by: Adrian Hunter <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions