linux-stable/arch/nios2
Arnd Bergmann 8b2a6074b9 uaccess: fix type mismatch warnings from access_ok()
[ Upstream commit 23fc539e81 ]

On some architectures, access_ok() does not do any argument type
checking, so replacing the definition with a generic one causes
a few warnings for harmless issues that were never caught before.

Fix the ones that I found either through my own test builds or
that were reported by the 0-day bot.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:24:01 +02:00
..
boot nios2 update for v5.7-rc1 2020-04-11 11:38:44 -07:00
configs sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
include uaccess: fix nios2 and microblaze get_user_8() 2022-04-08 14:23:18 +02:00
kernel uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
mm mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
platform nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 2021-10-27 09:29:07 -05:00
Kbuild kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild 2021-05-26 23:10:37 +09:00
Kconfig Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
Kconfig.debug NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE 2021-09-24 08:49:39 -05:00
Makefile kbuild: consolidate Devicetree dtb build rules 2018-10-02 09:23:21 -05:00