Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp378957rwb; Wed, 9 Nov 2022 03:52:52 -0800 (PST) X-Google-Smtp-Source: AMsMyM7MDCP/pdP2m9DLmodkS44MeOruHmADGP5Mn0macGMXZ3GacFDUcS3fp74SL7klvtfa2dHC X-Received: by 2002:a17:903:2490:b0:17f:bf7e:c521 with SMTP id p16-20020a170903249000b0017fbf7ec521mr60568526plw.161.1667994772752; Wed, 09 Nov 2022 03:52:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667994772; cv=none; d=google.com; s=arc-20160816; b=CFrKRJbyWabtbvwHJte17D1/uzXC2w3ybSWyXGghWYE7FpARXuifrLHgh1NljxwMxA 8fRnlLX60KDxbv3gigQYKrI//VDoDExFQQnQ8Y+8mvV8X4zVbWmmg/Cso8WEMnIIQPui 4bYB1QPFJ9cXdeXQv9pXUZ0Z0c5BmFHRHbQYieMS9+0BMGGTWssLoUOH/IDUSZAJ30YU p6ntbbXx3RT+ZfxHSt7XtMpNAcQnJvnFWX12SmtIJpuCCKMQmcJ+yH0MVNld/8XiyG5+ e4PU6PA5pCfLwAhuvzcv08ED0TaqhOhYW4QuDgCY/Q6i9bJvp7nv1iubE6H5UhreFBJk FOWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=USExLq/dKSU5kDEIsvd/Sk9I+Wj49S8qtOSp9fujz1M=; b=jozBozzEtU/DEdTy8PdxHPr+mG7u2p6II5i26bN5Gkeq7xCEIv0E/EVx7xIjLkX4Al SsJxorvcGbBff4A4O83FHZjuBancBIBeive2iAtT+Fm3uIXWz0Q7HBkgfLqSyJfd6ZJT pBdaiNXahDV72sMIb4PjvoAFqVLaxecvTZx/fniivq2ITyntmceGRBMfelrd/qQPdojj BLpKhzq/md2n5CYSWtOTdTSOQvHZT9z7tMd3wlrcbxcr2JITWMpGcsUhtK4nZNAMBof4 iYFLNYjTN+X5Xa0Ebl5O7KCI0UCEgk57MY5FTIANVczAtbIrIpZo85sGFiV+xnMyobDG x4pQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a170902784700b00186c41bebf1si15107357pln.76.2022.11.09.03.52.40; Wed, 09 Nov 2022 03:52:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbiKILUt (ORCPT + 93 others); Wed, 9 Nov 2022 06:20:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiKILUi (ORCPT ); Wed, 9 Nov 2022 06:20:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5A4921E05 for ; Wed, 9 Nov 2022 03:20:37 -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 81BD1619D7 for ; Wed, 9 Nov 2022 11:20:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C16AC433D6; Wed, 9 Nov 2022 11:20:35 +0000 (UTC) Date: Wed, 9 Nov 2022 11:20:32 +0000 From: Catalin Marinas To: Sergey Shtylyov Cc: Oleg Nesterov , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Morton , lvc-patches@linuxtesting.org, lvc-project@linuxtesting.org Subject: Re: [PATCH 03/13] arm64: ptrace: user_regset_copyin_ignore() always returns 0 Message-ID: References: <20221014212235.10770-1-s.shtylyov@omp.ru> <20221014212235.10770-4-s.shtylyov@omp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221014212235.10770-4-s.shtylyov@omp.ru> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 15, 2022 at 12:22:25AM +0300, Sergey Shtylyov wrote: > user_regset_copyin_ignore() always returns 0, so checking its result seems > pointless -- don't do this anymore... > > Found by Linux Verification Center (linuxtesting.org) with the SVACE static > analysis tool. > > Signed-off-by: Sergey Shtylyov Acked-by: Catalin Marinas What's happening with this series? (just going through my inbox)