diff options
author | Zhang Shurong <[email protected]> | 2023-07-22 23:29:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 16:21:04 +0200 |
commit | 2fd84b9b839c3541815733701a06d9df48297a91 (patch) | |
tree | ff6d00edf1d38a0f8ee7d9f75628fdbce31c0cbb /drivers/cdx/controller/cdx_controller.c | |
parent | 05d56d8079d510a2994039470f65bea85f0075ee (diff) |
uio: pruss: fix to check return value of platform_get_irq() in pruss_probe()
The platform_get_irq might be failed and return a negative result. So
there should have an error handling code.
Fixed this by adding an error handling code.
Signed-off-by: Zhang Shurong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions