Files
Jules Irenge 2b3a0ce029 pcmcia: Use resource_size function on resource object
BugLink: https://bugs.launchpad.net/bugs/2085849

[ Upstream commit 24a025497e7e883bd2adef5d0ece1e9b9268009f ]

Cocinnele reports a warning

WARNING: Suspicious code. resource_size is maybe missing with root

The root cause is the function resource_size is not used when needed

Use resource_size() on variable "root" of type resource

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
2024-11-09 18:45:47 +03:00
..
2009-10-24 17:13:01 +02:00
2018-12-04 22:37:38 +00:00
2018-12-04 22:37:38 +00:00
2023-09-03 10:45:47 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00