Commit a9ec6bd1f7bccdc1304629f8fbb2e02035026307
Committed by
David S. Miller
1 parent
8427b2acfd
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
sfc: initialize dynamic sysfs attributes for lockdep
Dynamically allocated sysfs attributes must be initialized using sysfs_attr_init(), otherwise lockdep complains: BUG: key <address> not in .data! Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/net/ethernet/sfc/mcdi_mon.c