diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2024-05-12 23:31:21 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2024-06-30 15:34:51 +0200 |
commit | 24a025497e7e883bd2adef5d0ece1e9b9268009f (patch) | |
tree | c781fc1a35e1455263f0ca47cf4dfdc2b560b3b0 /drivers/pcmcia/rsrc_mgr.c | |
parent | 02d51503324cb699ef248ece47cbdc2f2a61eb73 (diff) | |
download | lwn-24a025497e7e883bd2adef5d0ece1e9b9268009f.tar.gz lwn-24a025497e7e883bd2adef5d0ece1e9b9268009f.zip |
pcmcia: Use resource_size function on resource object
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>
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
0 files changed, 0 insertions, 0 deletions