summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-11-25 10:38:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 16:02:23 +0100
commit3bec2f77f1029ac8549aa1f0223b46a987c49855 (patch)
treef7cdab041e283cad7cd93de915effe62ec465b38 /lib
parentserial: stm32: Add support for rs485 RX_DURING_TX output GPIO (diff)
downloadlinux-3bec2f77f1029ac8549aa1f0223b46a987c49855.tar.xz
linux-3bec2f77f1029ac8549aa1f0223b46a987c49855.zip
serial: pic32: Add checks for devm_clk_get() in pic32_uart_probe()
As the devm_clk_get() may return ERR_PTR, its return value needs to be checked to avoid invalid poineter dereference. Signed-off-by: Yuan Can <yuancan@huawei.com> Link: https://lore.kernel.org/r/20221125093832.33386-1-yuancan@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions