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
Kconfig -rw-r--r-- 343 bytes
Makefile -rw-r--r-- 227 bytes
xen_snd_front.c -rw-r--r-- 9.6 KB
xen_snd_front.h -rw-r--r-- 1.5 KB
xen_snd_front_alsa.c -rw-r--r-- 21.9 KB
xen_snd_front_alsa.h -rw-r--r-- 581 bytes
xen_snd_front_cfg.c -rw-r--r-- 12.7 KB
xen_snd_front_cfg.h -rw-r--r-- 991 bytes
xen_snd_front_evtchnl.c -rw-r--r-- 12.0 KB
xen_snd_front_evtchnl.h -rw-r--r-- 2.4 KB

back to top