From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 833BDC433FE for ; Tue, 15 Nov 2022 22:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbiKOWcS (ORCPT ); Tue, 15 Nov 2022 17:32:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiKOWbr (ORCPT ); Tue, 15 Nov 2022 17:31:47 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89EA3F34 for ; Tue, 15 Nov 2022 14:31:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 270A461A60 for ; Tue, 15 Nov 2022 22:31:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 825ABC433D6; Tue, 15 Nov 2022 22:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1668551505; bh=xaTxviSJUho5QoTk8NJcVcbw1vVuxFG2U7WQo30mzto=; h=Date:To:From:Subject:From; b=fvBIU8yfx0ioYZs9uHTDyMM8qHwOeHWYtmQRzju4DiEVp7n8UvnKaVlp3FkH+1j9M ABk//xb1wSm/SUM0jP1/d42WTZc9nJDcDMLQf7sBfJdS97y/lkB//xbnIoX4b/nhOo ypaJUcE1dCH7c5R6vO9+asseaLVLJ/QzJPtvMmng= Date: Tue, 15 Nov 2022 14:31:45 -0800 To: mm-commits@vger.kernel.org, ysato@users.osdn.me, will@kernel.org, tsbogend@alpha.franken.de, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, oleg@redhat.com, npiggin@gmail.com, mpe@ellerman.id.au, linux@armlinux.org.uk, jonas@southpole.se, James.Bottomley@HansenPartnership.com, dinguyen@kernel.org, deller@gmx.de, davem@davemloft.net, dalias@libc.org, christophe.leroy@csgroup.eu, catalin.marinas@arm.com, bcain@quicinc.com, s.shtylyov@omp.ru, akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-nonmm-stable] sh-ptrace-user_regset_copyin_ignore-always-returns-0.patch removed from -mm tree Message-Id: <20221115223145.825ABC433D6@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The quilt patch titled Subject: sh: ptrace: user_regset_copyin_ignore() always returns 0 has been removed from the -mm tree. Its filename was sh-ptrace-user_regset_copyin_ignore-always-returns-0.patch This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Sergey Shtylyov Subject: sh: ptrace: user_regset_copyin_ignore() always returns 0 Date: Sat, 15 Oct 2022 00:22:33 +0300 user_regset_copyin_ignore() always returns 0, so checking its result seems pointless -- don't do this anymore... Link: https://lkml.kernel.org/r/20221014212235.10770-12-s.shtylyov@omp.ru Signed-off-by: Sergey Shtylyov Cc: Brian Cain Cc: Catalin Marinas Cc: Christophe Leroy Cc: David S. Miller Cc: Dinh Nguyen Cc: Helge Deller Cc: James Bottomley Cc: Jonas Bonn Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Oleg Nesterov Cc: Rich Felker Cc: Russell King Cc: Stafford Horne Cc: Stefan Kristiansson Cc: Thomas Bogendoerfer Cc: Will Deacon Cc: Yoshinori Sato Signed-off-by: Andrew Morton --- arch/sh/kernel/ptrace_32.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/arch/sh/kernel/ptrace_32.c~sh-ptrace-user_regset_copyin_ignore-always-returns-0 +++ a/arch/sh/kernel/ptrace_32.c @@ -157,8 +157,8 @@ static int genregs_set(struct task_struc offsetof(struct pt_regs, pc), sizeof(struct pt_regs)); if (!ret) - ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, - sizeof(struct pt_regs), -1); + user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, + sizeof(struct pt_regs), -1); return ret; } @@ -229,8 +229,8 @@ static int dspregs_set(struct task_struc ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, sizeof(struct pt_dspregs)); if (!ret) - ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, - sizeof(struct pt_dspregs), -1); + user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, + sizeof(struct pt_dspregs), -1); return ret; } _ Patches currently in -mm which might be from s.shtylyov@omp.ru are