Skip to contentSkip to conversation

mailbox: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()

PATCH Markus Elfring 1 participant 1 message Apr 29, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR().

Such information is helpful.

Quoted 1 line

The IS_ERR() test in the return value check should be replaced with NULL test.

Would you like to convert this description into an imperative wording?

Regards,
Markus