mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
devm_ioremap() returns NULL on failure, not an ERR_PTR.
Using IS_ERR() to check the return value is incorrect.
Fix this by checking for NULL and returning -ENOMEM.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| phy-eic7700-sata.c | ||