Bhumika Goyal 738bc38d49 kernel/ksysfs.c: add __ro_after_init to bin_attribute structure
The object notes_attr of type bin_attribute is not modified after
getting initailized by ksysfs_init.  Apart from initialization in
ksysfs_init it is also passed as an argument to the function
sysfs_create_bin_file but this argument is of type const.  Therefore,
add __ro_after_init to its declaration.

Link: http://lkml.kernel.org/r/1486839969-16891-1-git-send-email-bhumirks@gmail.com
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-24 17:46:56 -08:00
..
2017-02-20 16:42:43 -08:00
2015-11-19 17:51:48 +01:00
2017-01-12 07:01:56 -07:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2017-02-22 10:30:38 -08:00
2017-02-10 11:15:08 +01:00
2017-02-22 17:08:33 -08:00
2016-02-16 13:04:58 -05:00
2017-01-14 11:37:18 +01:00
2015-01-17 10:02:23 +13:00
2016-03-01 20:36:56 +01:00
2016-12-22 22:58:37 -05:00
2016-09-22 20:00:36 -05:00
2017-02-10 11:15:08 +01:00