fs.h, drivers/hwmon/asus_atk0110.c: fix DEFINE_SIMPLE_ATTRIBUTE semicolon definition...
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:08:45 +0000 (16:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:23 +0000 (18:01 -0700)
The DEFINE_SIMPLE_ATTRIBUTE macro should not end in a ; Fix the one use
in the kernel tree that did not have a semicolon.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/asus_atk0110.c
include/linux/fs.h

index ae208f61219804cbac02bc850582c1ad7cfc5f84..cccef87963e050afb99181d63d3ed5dcf401d5a1 100644 (file)
@@ -688,7 +688,7 @@ static int atk_debugfs_gitm_get(void *p, u64 *val)
 DEFINE_SIMPLE_ATTRIBUTE(atk_debugfs_gitm,
                        atk_debugfs_gitm_get,
                        NULL,
-                       "0x%08llx\n")
+                       "0x%08llx\n");
 
 static int atk_acpi_print(char *buf, size_t sz, union acpi_object *obj)
 {
index 2daccaf4b547cc293a5315d7a112de1851959c89..1ab6c6913040523cb4a097b3a0bef71ce4fe4dab 100644 (file)
@@ -2688,7 +2688,7 @@ static const struct file_operations __fops = {                            \
        .read    = simple_attr_read,                                    \
        .write   = simple_attr_write,                                   \
        .llseek  = generic_file_llseek,                                 \
-};
+}
 
 static inline __printf(1, 2)
 void __simple_attr_check_format(const char *fmt, ...)