summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2026-03-27 18:11:44 +0300
committerJassi Brar <jassisinghbrar@gmail.com>2026-03-29 18:56:38 +0300
commit9efbbf810ee3e50360daa83cb8e0cc5ab998cef3 (patch)
treec7ae01dfc62f5c855383a2e6bbfb8ebd56338825 /include
parent8a19c5aa2f04c38926318d128f57f0c350bab4c6 (diff)
downloadlinux-9efbbf810ee3e50360daa83cb8e0cc5ab998cef3.tar.xz
mailbox: test: really ignore optional memory resources
Memory resources are optional but if the resource is empty devm_platform_get_and_ioremap_resource() prints an error nonetheless. Refactor the code to check the resources locally first and process them only if they are present. The -EBUSY error message of ioremap_resource() is still kept because it is correct. The comment which explains that a plain ioremap() is tried as a workaround is turned into a info message. So, a user will be informed about it, too. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions