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 4B795C433FE for ; Wed, 9 Nov 2022 11:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbiKILUu (ORCPT ); Wed, 9 Nov 2022 06:20:50 -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> 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)