summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorWilliam Tu <witu@nvidia.com>2024-03-10 18:45:47 +0200
committerSasha Levin <sashal@kernel.org>2024-03-26 18:18:27 -0400
commitc680dd8238bdcbf6e7dd5f07c45f24851cc492ad (patch)
treea0b6de8181045b3956c86d64603cd023a829ddd4 /drivers/w1
parent5d161c6c7a53608006f0cc688ee814075e6ad1f6 (diff)
downloadlinux-stable-c680dd8238bdcbf6e7dd5f07c45f24851cc492ad.tar.gz
linux-stable-c680dd8238bdcbf6e7dd5f07c45f24851cc492ad.tar.bz2
linux-stable-c680dd8238bdcbf6e7dd5f07c45f24851cc492ad.zip
devlink: Fix length of eswitch inline-mode
[ Upstream commit 8f4cd89bf10607de08231d6d91a73dd63336808e ] Set eswitch inline-mode to be u8, not u16. Otherwise, errors below $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev \ inline-mode network Error: Attribute failed policy validation. kernel answers: Numerical result out of rang netlink: 'devlink': attribute type 26 has an invalid length. Fixes: f2f9dd164db0 ("netlink: specs: devlink: add the remaining command to generate complete split_ops") Signed-off-by: William Tu <witu@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240310164547.35219-1-witu@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions