Tag: c430cf376fee0b03d9c9293615f9737649de1b12

mailbox: Fix devm_ioremap_resource error detection code

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure. The Coccinelle semantic patch used to make this change is as follows: @@ expression e,e1; statement S; @@ *e = devm_ioremap_resource(…); if (!e1) S Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Jassi Brar — drivers/mailbox/mailbox-sti.c | 4 ++– 1 file changed, 2 insertions(+), …

Continue reading