mirror of
https://github.com/torvalds/linux
synced 2024-10-08 12:22:38 +00:00
1b7619828d
Both devm_kcalloc() and devm_kzalloc() return NULL on error. They
never return error pointers.
The use of IS_ERR_OR_NULL is currently applied to the wrong
context.
Fix this by replacing IS_ERR_OR_NULL with regular NULL checks.
Fixes:
|
||
---|---|---|
.. | ||
hw | ||
test | ||
Kconfig | ||
Makefile | ||
ntb.c | ||
ntb_transport.c |