diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-03 06:31:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-03 17:18:53 +0300 |
commit | 128f6ec95a282b2d8bc1041e59bf65810703fa44 (patch) | |
tree | 8930fa9c39420a05737561f5daec7cda118327d3 /fs/char_dev.c | |
parent | 0f8a3b48f91b8dc1f3eff06b77a63a17183fccbd (diff) | |
download | linux-128f6ec95a282b2d8bc1041e59bf65810703fa44.tar.xz |
net: bcm4908: Handle dma_set_coherent_mask error codes
The return value of dma_set_coherent_mask() is not always 0.
To catch the exception in case that dma is not support the mask.
Fixes: 9d61d138ab30 ("net: broadcom: rename BCM4908 driver & update DT binding")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions