aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndy Whitcroft <[email protected]>2012-01-10 15:10:04 -0800
committerLinus Torvalds <[email protected]>2012-01-10 16:30:50 -0800
commit87a53877185627b49a903023255425bda78f890c (patch)
tree47809b22567658e1e17be1603358d06f79a8e99f /lib/memory-notifier-error-inject.c
parenta13858033a3a993147d190317cc9d709f0a1b819 (diff)
checkpatch: fix EXPORT_SYMBOL handling following a function
The following fragment defeats the DEVICE_ATTR style handing, check for and ignore the close brace '}' in this context: int foo() { } DEVICE_ATTR(link_power_management_policy, S_IRUGO | S_IWUSR, ata_scsi_lpm_show, ata_scsi_lpm_put); EXPORT_SYMBOL_GPL(dev_attr_link_power_management_policy); Signed-off-by: Andy Whitcroft <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions