aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2024-06-05 11:47:43 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 13:34:33 +0200
commit0dcc53abf58d572d34c5313de85f607cd33fc691 (patch)
treefccc039dfb5a35dbdf38fed559628a85187126aa /drivers/gpu/drm/lima/lima_gem.c
parentb01e1c030770ff3b4fe37fc7cc6bca03f594133f (diff)
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Clang static checker (scan-build) warning: net/ethtool/ioctl.c:line 2233, column 2 Called function pointer is null (null dereference). Return '-EOPNOTSUPP' when 'ops->get_ethtool_phy_stats' is NULL to fix this typo error. Fixes: 201ed315f967 ("net/ethtool/ioctl: split ethtool_get_phy_stats into multiple helpers") Signed-off-by: Su Hui <suhui@nfschina.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Hariprasad Kelam <hkelam@marvell.com> Link: https://lore.kernel.org/r/20240605034742.921751-1-suhui@nfschina.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions