Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4808306rwl; Mon, 3 Apr 2023 09:51:48 -0700 (PDT) X-Google-Smtp-Source: AKy350a3m+0X9Dcw/WaviEyRPGEJ6JRWR424vONvRzY9rZ95w2u24jjyjMar9fgEqQDBKARA5vAV X-Received: by 2002:a17:907:c008:b0:8ad:51e9:cd57 with SMTP id ss8-20020a170907c00800b008ad51e9cd57mr40700903ejc.49.1680540708078; Mon, 03 Apr 2023 09:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680540708; cv=none; d=google.com; s=arc-20160816; b=jyHzD7iXkSY2KmgLvQ0/nQ4ucrDq7l/zl2IJpqzoEO1awxGOiHfkDBOgfCKuFF4vFL C6PAmxK6YVPIgb/0woTkLMpwdGpungaRCQLfUPnfNN78EnBVoVAPe+Rl5WnLQoqkrjIX 2uwvn+T9i9p+/Uqg0e+pEuRu3OtlLfKtfQWISzzFB+Lf1WyDqpFkZbBJRdOyA1NdbRvj gBPj0+QnoccD0wpqfgEmNJ8xfRbRCeDyhI79D9jnSfwwrUB1UyJQZBVqFjbK5kPAt7Qp XTY7LYo+MEVRSAwRNPp0aokLpuJRC0JxgHi94b9tswt5eqv9UjWBOwj85qRi/5ZxQpze hV+g== 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:dkim-signature; bh=DxGa0zHHSot7+y2yfZSYHeWLNDXuO6rw6ErgBKtDkbU=; b=BMS9QIFFBprEvAAZ+tiTPzEb4guwM2zT1HlGBruAjXsniB9GcXqYbAOsPoORHQ2zDt tNvDbAc4hRniXK4GyX0tyFsWKAMsN6DMLk0+ThDm0FigEHVDzIFeMzJQVlDLx2r85+f1 im3ctSfcMVAR/5RglyRw6APr/n8asci4I1f8NQOpvBXe/BLavHz7t8m55KeJ2m5J5MAT u2jD07rdMx5edlEnAf8cY+GN2/ID38CWzDK7+GEcBjrOkvvoUWl0/PnyAMUtvgZ8ydk8 ipCVTXO0lYUawyEzYM/Emfj6/uYhBNJ3wMY12XUh/9dQ5j1ESMZoK3b/LbVCVYQHc18E vmDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iGK4Iuyc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a1709064d9400b0093ec7db2010si7416532eju.665.2023.04.03.09.51.23; Mon, 03 Apr 2023 09:51:48 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iGK4Iuyc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232658AbjDCQks (ORCPT + 99 others); Mon, 3 Apr 2023 12:40:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbjDCQkr (ORCPT ); Mon, 3 Apr 2023 12:40:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9324B1BEC; Mon, 3 Apr 2023 09:40:46 -0700 (PDT) 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 17868621CA; Mon, 3 Apr 2023 16:40:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E18A2C433D2; Mon, 3 Apr 2023 16:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680540045; bh=TcSh5Xer/g/90hgj1a2nC1kMu8egZgxSewoXwwQbyNE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iGK4Iuycn8/uKX4FlDut1UDgJOfU5jgsVPyaCg4mhj2Uec8k9KJdUdsJ0uT14vyYb adF4n9tsNFRz63Srz4pc1OGMYILi0Mq6wmWmebIv8YSp3T0+Phq59bVK6V9DO5V8PB tFECGKvy8sjGurTzpk5oHCgiXEOBkPiwsB8GOFMvKfxAXXN9R105Uk0hV2yAJHcOuN KSsvJUuNdZ+2FQ0MRThqQzl31Vq0NtbgXqfadQDl/SuxQjbyH/cZmdadO5QTPjbFVl oyGNDns77jEhKGV2XgXdU5ht14oi2KoPwsgEauQY8NBEHQ/mdtTVXtija34w6qS6GE yurD9ObU9sCgw== Date: Mon, 3 Apr 2023 18:40:40 +0200 From: Christian Brauner To: Jan Kara Cc: Jiapeng Chong , viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH v2] fs/buffer: Remove redundant assignment to err Message-ID: <20230403-mammogram-grudging-4aa3773a32af@brauner> References: <20230323023259.6924-1-jiapeng.chong@linux.alibaba.com> <20230403161043.tecfvgmhacs4j3qp@quack3> <20230403163802.jvwnxg4wsa3n5fpg@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230403163802.jvwnxg4wsa3n5fpg@quack3> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Mon, Apr 03, 2023 at 06:38:02PM +0200, Jan Kara wrote: > On Mon 03-04-23 18:10:43, Jan Kara wrote: > > On Thu 23-03-23 10:32:59, Jiapeng Chong wrote: > > > Variable 'err' set but not used. > > > > > > fs/buffer.c:2613:2: warning: Value stored to 'err' is never read. > > > > > > Reported-by: Abaci Robot > > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4589 > > > Signed-off-by: Jiapeng Chong > > > > I don't think the patch is quite correct (Christian, please drop it if I'm > > correct). See below: > > Ah, sorry. I had too old kernel accidentally checked out. The patch is fine > with current upstream. Sorry for the noise! No problem at all. I'm very happy that you took the time to review this. This is very much needed! Christian