diff options
| author | Yuan Can <[email protected]> | 2022-11-25 09:38:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-19 15:02:23 +0000 |
| commit | 3bec2f77f1029ac8549aa1f0223b46a987c49855 (patch) | |
| tree | f7cdab041e283cad7cd93de915effe62ec465b38 /drivers/usb/class/cdc-acm.c | |
| parent | serial: stm32: Add support for rs485 RX_DURING_TX output GPIO (diff) | |
| download | kernel-3bec2f77f1029ac8549aa1f0223b46a987c49855.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
