Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs.h, drivers/hwmon/asus_atk0110.c: fix DEFINE_SIMPLE_ATTRIBUTE semicolon definition and use

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>

authored by

Joe Perches and committed by
Linus Torvalds
68be3029 69102311

+2 -2
+1 -1
drivers/hwmon/asus_atk0110.c
··· 688 688 DEFINE_SIMPLE_ATTRIBUTE(atk_debugfs_gitm, 689 689 atk_debugfs_gitm_get, 690 690 NULL, 691 - "0x%08llx\n") 691 + "0x%08llx\n"); 692 692 693 693 static int atk_acpi_print(char *buf, size_t sz, union acpi_object *obj) 694 694 {
+1 -1
include/linux/fs.h
··· 2688 2688 .read = simple_attr_read, \ 2689 2689 .write = simple_attr_write, \ 2690 2690 .llseek = generic_file_llseek, \ 2691 - }; 2691 + } 2692 2692 2693 2693 static inline __printf(1, 2) 2694 2694 void __simple_attr_check_format(const char *fmt, ...)