summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-20 09:31:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 17:39:15 +0100
commit8f46baaa7ec6cd0851794020b31958e64679dd26 (patch)
treed075f91c3a8ef47237df697664efb22b7e676a14 /drivers/net/ethernet/sfc/nic.c
parentdevice: separate all subsys mutexes (diff)
downloadlinux-8f46baaa7ec6cd0851794020b31958e64679dd26.tar.xz
linux-8f46baaa7ec6cd0851794020b31958e64679dd26.zip
base: core: WARN() about bogus permissions on device attributes
Whenever a struct device_attribute is registered with mismatched permissions - read permission without a show routine or write permission without store routine - we will issue a big warning so we catch those early enough. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.c')
0 files changed, 0 insertions, 0 deletions