History

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.

Joe Perches committed 12 years ago

Commit 68be3021 parent 69102312 files · +2 −2Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t