Files
kernel_arpi/include/linux
Dave Chinner 90b75db649 fault_in_multipages_readable() throws set-but-unused error
When building XFS with -Werror, it now fails with:

  include/linux/pagemap.h: In function 'fault_in_multipages_readable':
  include/linux/pagemap.h:602:16: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
    volatile char c;
                  ^

This is a regression caused by commit e23d4159b1 ("fix
fault_in_multipages_...() on architectures with no-op access_ok()").
Fix it by re-adding the "(void)c" trick taht was previously used to make
the compiler think the variable is used.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-09-25 18:16:44 -07:00
..
2016-07-25 11:47:52 +01:00
2016-08-16 09:16:51 -06:00
2016-08-04 08:50:07 -04:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-08-16 09:16:51 -06:00
2016-08-11 09:41:35 -06:00
2016-08-02 19:35:24 -04:00
2016-07-26 16:19:19 -07:00
2016-09-01 11:11:59 +02:00
2016-07-22 09:07:02 +02:00
2016-08-02 19:35:44 -04:00
2016-08-04 10:16:55 +09:30
2016-07-29 12:17:52 -07:00
2016-09-04 11:41:12 -07:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-07-20 23:30:06 -04:00
2016-08-28 23:44:55 -04:00
2016-07-19 17:43:38 +03:00
2016-09-17 14:05:30 -07:00
2016-07-26 16:19:19 -07:00