commit | 0bcd0a2be8c9ef39d84d167ff85359a49f7be175 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 27 09:50:17 2020 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Tue Oct 27 16:13:09 2020 +0100 |
tree | 5cf4d680c266eb2d6409003f890ed185a16d1dce | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec [diff] |
asm-generic: mark __{get,put}_user_fn as __always_inline Without the explicit __always_inline, some RISC-V configs place the functions out of line, triggering the BUILD_BUG_ON checks in the function. Fixes: 11129e8ed4d9 ("riscv: use memcpy based uaccess for nommu again") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>