sfc: initialize dynamic sysfs attributes for lockdep
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 19 Jul 2012 07:04:45 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 17:48:08 +0000 (10:48 -0700)
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>

No differences found