]> 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:23:14 +0000 (16:23 +0200)
commit4536be48e06f0bf8c1ae3846f0346ba97af2ed9d
tree9fb7f99fa212a17e1649055774f8aeeadf2bc4c6
parentd0ef086c786ec083b12323b97a96bef705174548
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