diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-06-07 11:58:29 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-06-09 09:42:52 +0200 |
commit | ad64639417161e90b30dda00486570eb150aeee5 (patch) | |
tree | 92b42e0d42861256cdcf32b3d376d81bd5c54d3b /net/tls/tls.h | |
parent | pinctrl:sunplus: Add check for kmalloc (diff) | |
download | linux-ad64639417161e90b30dda00486570eb150aeee5.tar.xz linux-ad64639417161e90b30dda00486570eb150aeee5.zip |
pinctrl: npcm7xx: Add missing check for ioremap
Add check for ioremap() and return the error if it fails in order to
guarantee the success of ioremap().
Fixes: 3b588e43ee5c ("pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230607095829.1345-1-jiasheng@iscas.ac.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/tls/tls.h')
0 files changed, 0 insertions, 0 deletions