Re: [PATCH v3] mailbox: test: really ignore optional memory resources

From: Wolfram Sang

Date: Thu Mar 05 2026 - 13:59:12 EST


On Tue, Mar 03, 2026 at 10:27:39PM +0100, Wolfram Sang wrote:
> 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@xxxxxxxxxxxxxxxxxxxx>

Got some buildbot reports about missing __iomem annotations. I already
fixed these and now wait for the updated buildbot reports. Sorry,
because of the new 7.0-rc1 requirement to use top-of-tree sparse, my
scripts went a bit haywire.

Attachment: signature.asc
Description: PGP signature