mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
The type of the second argument of access_ok should be (void __user *). The unnecessary conversion of the clear_user address argument was causing sparse to emit warnings on the __chk_user_ptr check. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>