summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2022-06-06 14:57:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-14 17:53:58 +0300
commit58f2a2d14fa9ff6cf31997b7dbd094daa75eac29 (patch)
tree37da1c4d06dd1c8e2fed9ebe0f6e1b1ab39e0e2b /lib/memory-notifier-error-inject.c
parenta4d3e5f1d7d4f8b5e3834fec0f057a762c55806b (diff)
downloadlinux-58f2a2d14fa9ff6cf31997b7dbd094daa75eac29.tar.xz
net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
[ Upstream commit f5826c8c9d57210a17031af5527056eefdc2b7eb ] The ioctl EEPROM query wrongly returns success on read failures, fix that by returning the appropriate error code. Fixes: 7202da8b7f71 ("ethtool, net/mlx4_en: Cable info, get_module_info/eeprom ethtool support") Signed-off-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/r/20220606115718.14233-1-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions