mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
994772632f
Currently when the call to dev_get_platdata returns null the driver issues
a warning and then later dereferences the null pointer. Avoid this issue
by returning -ENODEV error rather when the platform data is null and
change the warning to an appropriate error message.
Addresses-Coverity: ("Dereference after null check")
Fixes:
|
||
---|---|---|
.. | ||
cppi41.c | ||
dma-crossbar.c | ||
edma.c | ||
Kconfig | ||
Makefile | ||
omap-dma.c |