]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Remove spurious if statement from raw_copy_from_user()
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 5 Aug 2025 15:35:30 +0000 (11:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 14:37:29 +0000 (16:37 +0200)
commit47f0373c39b27f0854fc0bb098cea62c8c203486
treed51a7064c4557ac412a87c89d899a270b3e44582
parent4210e5e642da2bfed303ee6a7b16a10cea56d4e6
parisc: Remove spurious if statement from raw_copy_from_user()

commit 16794e524d310780163fdd49d0bf7fac30f8dbc8 upstream.

Accidently introduced in commit 91428ca9320e.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: 91428ca9320e ("parisc: Check region is readable by user in raw_copy_from_user()")
Cc: stable@vger.kernel.org # v5.12+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/lib/memcpy.c