Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4805477rwl; Mon, 3 Apr 2023 09:48:57 -0700 (PDT) X-Google-Smtp-Source: AKy350Y6fHoAKLzlVQ6eJSLTve8B25Dr/gfUmRMuvqhrpfM4JOy3Q1x+GarKlplCXAoMJ1RaTidd X-Received: by 2002:a62:180d:0:b0:628:1852:7343 with SMTP id 13-20020a62180d000000b0062818527343mr36351191pfy.2.1680540537567; Mon, 03 Apr 2023 09:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680540537; cv=none; d=google.com; s=arc-20160816; b=GM1YFcLvm9+Kpvx4Cz9NswsQ2xXUag4yFOpiphnEZjCwr4Kp6LPkWATC1UUdfIqo51 I9rdGLJPvTPImTajneN3tps/gExgMppj/if7YgorAayrSBAyiI63s528n24nfT7sfL2L wD3gg1A3uR+n51UDBAJQ8GiUk7pQDv+/G21iHpOB36wP7Cv4ePvUH0N8dzvtrIbg2Gaa V0NqlLR+J/Xbr1e9GhCwQMhBXRVuAYmsU+yMJ3tfMjxDcS70s6BV1oT3TZGtkD0L5JxQ l12WVkFILfw1EnZaHN68lblnn629r5opfenEEbXkIF7LVcP/xAZQvnikG+6SyJFMAXth fbVQ== 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 :dkim-signature; bh=fEGVxRoTlvsbChMAl/BmJtvvAj64ROqXGRxjWLSXbMo=; b=gfq+kNBvySI/fbUeV6btWNyQFS0yiMlebq1axorQWdZIHcA9iGEAnNDDthTqwHmY/o 2Tpgt4buoLN+mCzdhyGAxU67uuM0wMHYn72G5hw2CpJSES2CDsTTayT8UCRck/TdnzG3 1lYmZFnrPiAmmWhZkwSd6IqC4OEyLD5c+Isl1PZN90TX4q3U5emKuVlhs1mLXxszePI+ kJMz6cEIutn7MKNfenG2CHF/oJDMllP7yb+XsP38ksvao7N1sDQVCoh6tYDg05zIlO/z 1fU0mwFh0lnr4QugSv2eEv+DjQ2TAk2qzWvi0v2DX3Sj2l9A8wlCgVAO6liASZXFT0kB 9yAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=b6JLhFkL; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020aa78ec7000000b00629664182b8si8304095pfr.350.2023.04.03.09.48.45; Mon, 03 Apr 2023 09:48:57 -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=@suse.cz header.s=susede2_rsa header.b=b6JLhFkL; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232805AbjDCQiY (ORCPT + 99 others); Mon, 3 Apr 2023 12:38:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232741AbjDCQiR (ORCPT ); Mon, 3 Apr 2023 12:38:17 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7EC0211F; Mon, 3 Apr 2023 09:38:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4AEB52005D; Mon, 3 Apr 2023 16:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1680539883; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fEGVxRoTlvsbChMAl/BmJtvvAj64ROqXGRxjWLSXbMo=; b=b6JLhFkLfttRnnkrLFIWfKPpJeJ2lkyiUsV++0L8JhkDFiWWTNt7wy2SuYGcDK0Vb7MSmr Etm0AVkiSYdK3iPECgaKsSPqN8q1yr+cOci6MLt5vc54zeyanMExM2bNAdZwB0J5gBUhlt kYlgZ07f/DmRtB/aJQdahJAW700mpYY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1680539883; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fEGVxRoTlvsbChMAl/BmJtvvAj64ROqXGRxjWLSXbMo=; b=XWAS7uZ786xY5AKiIUQ1iFESMgSs0AgSiGn0tB6EKllxmBYa6lfqVAbDkCjna3MojdFMOb 8iF6gkuth3gKmJAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3A3CC13416; Mon, 3 Apr 2023 16:38:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id j9InDusAK2QQZAAAMHmgww (envelope-from ); Mon, 03 Apr 2023 16:38:03 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 9EFAFA0732; Mon, 3 Apr 2023 18:38:02 +0200 (CEST) Date: Mon, 3 Apr 2023 18:38:02 +0200 From: Jan Kara To: Jiapeng Chong Cc: viro@zeniv.linux.org.uk, brauner@kernel.org, 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: <20230403163802.jvwnxg4wsa3n5fpg@quack3> References: <20230323023259.6924-1-jiapeng.chong@linux.alibaba.com> <20230403161043.tecfvgmhacs4j3qp@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403161043.tecfvgmhacs4j3qp@quack3> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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! Honza -- Jan Kara SUSE Labs, CR