Revision 9f73bd1c2c4c304b238051fc92b3f807326f0a89 authored by Parav Pandit on 11 November 2020, 03:47:44 UTC, committed by Jakub Kicinski on 12 November 2020, 16:06:57 UTC
Cited commit in fixes tag overwrites the port attributes for the
registered port.

Avoid such error by checking registered flag before setting attributes.

Fixes: 71ad8d55f8e5 ("devlink: Replace devlink_port_attrs_set parameters with a struct")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20201111034744.35554-1-parav@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 9e2b7fa
History
File Mode Size
ad1816a
ad1848
cs423x
es1688
galaxy
gus
msnd
opti9xx
sb
wavefront
wss
Kconfig -rw-r--r-- 12.7 KB
Makefile -rw-r--r-- 892 bytes
adlib.c -rw-r--r-- 2.7 KB
als100.c -rw-r--r-- 9.7 KB
azt2320.c -rw-r--r-- 8.9 KB
cmi8328.c -rw-r--r-- 13.5 KB
cmi8330.c -rw-r--r-- 21.8 KB
es18xx.c -rw-r--r-- 68.3 KB
opl3sa2.c -rw-r--r-- 28.4 KB
sc6000.c -rw-r--r-- 17.1 KB
sscape.c -rw-r--r-- 32.1 KB

back to top