diff options
author | kernel test robot <lkp@intel.com> | 2021-03-19 07:28:44 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-04-06 10:39:20 +0530 |
commit | cbc336c09b6d6dfb24d20c955599123308fa2fe2 (patch) | |
tree | fd9bb15d1576659f8b140a1baaec80fa459a5a27 /security/min_addr.c | |
parent | 8595ffb52fa3a1dd8620f0029a0e22ee37efd17f (diff) |
phy: fix resource_size.cocci warnings
drivers/phy/microchip/sparx5_serdes.c:2440:54-57: ERROR: Missing resource_size with iores
Use resource_size function on resource object
instead of explicit computation.
Generated by: scripts/coccinelle/api/resource_size.cocci
Fixes: 2ff8a1eeb5aa ("phy: Add Sparx5 ethernet serdes PHY driver")
CC: Steen Hegelund <steen.hegelund@microchip.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210318232844.GA65886@63b0c5462fda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions