devres: show which resource was invalid in __devm_ioremap_resource()
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 21 Jun 2023 16:30:50 +0000 (17:30 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Jun 2023 00:04:04 +0000 (17:04 -0700)
commit875e0c31f84cb264d4d7b1569a1966cedcc4d459
tree7f6ef09ab5c34c27f094d774272bec7fad39baad
parent7ca8fe94aa92d9adcd7dcdf64371fc78eb2da3f9
devres: show which resource was invalid in __devm_ioremap_resource()

The other error prints in this call show the resource which wsan't valid,
so add this to the first print when it checks for basic validity of the
resource.

Link: https://lkml.kernel.org/r/20230621163050.477668-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/devres.c