Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4767127rwl; Mon, 3 Apr 2023 09:16:52 -0700 (PDT) X-Google-Smtp-Source: AKy350a4v/NZlke+RlpPhvRum6UIoVTgNUctot524MqUEBYZ/3DwBxZhQg/urjohvK/4oBXu5pjP X-Received: by 2002:a17:906:4795:b0:944:308f:b976 with SMTP id cw21-20020a170906479500b00944308fb976mr35500787ejc.36.1680538612316; Mon, 03 Apr 2023 09:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680538612; cv=none; d=google.com; s=arc-20160816; b=yBaT5Fj8QDWhvoZnKkpn2TY3wyQVeZpayecjoD73OA8tnFUJFoK6gcfkqYn6U6h7r/ ICLMQJwujsrBe/ds5IJyldkevy6Dv3dCv9lSB31hTiA8V++o2w/2r/uHxXrOj4DVazx+ X4i+oYhO8tlyu7oDou7t9ZYVb9YWnX6+n0Qy/YzlUKGOu2/78uyGcrSJpf7EwiuzUKL6 +e3RIAUwJ1bpUjJt/DNl4a0T2QDD35TVLdd3fxbku7vynB+o0h6/3SL1Bag0oAMXxipR 4HsF4t7p51avlaJy9erdo5SvqNYMt5fQUyAZng3j7e756zVip9tl7m+72cHzfLh++wKd H9aQ== 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=VrOsgLk4nRQ8eCcYXvi/Wkky3os3Gtp9NYdLIsxycCc=; b=FVhAKMaMZWcrZmXYfEAdnLAlGTXjbhKwmOXzkN91R7W2cgRwYX3IK3VxGqBbweTJ9m kWpciQ1iwmkf4AKXkExB35H53mnig9hxjlBhzQvbLqTIGsAYF3smqR+Q9ij0wpHA20Jh 17BvcHfd4YjTq73j/eaREwfN/L++AWlRv0plH0SNKEVn6wSl8eN8BmxVvjo/hHJ+UOZF W1fASVvcXxEn8IN6Z7NAsFvgZNkniGPDSND8MuXmRcqvHooptMdXFm8YdEk9UVJDjTeM AxjLoOMuf4yB/Li0/j77wj6CjYQo0e5GGmXi8ENT3Rf5r26RkYcqGnOAsmlsSORzWFO1 CJng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=s1nuSSV6; 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 z23-20020a170906815700b0093018c7c47csi478632ejw.10.2023.04.03.09.16.26; Mon, 03 Apr 2023 09:16:52 -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=@infradead.org header.s=casper.20170209 header.b=s1nuSSV6; 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 S232501AbjDCQNb (ORCPT + 99 others); Mon, 3 Apr 2023 12:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232299AbjDCQN3 (ORCPT ); Mon, 3 Apr 2023 12:13:29 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77CBD10FC; Mon, 3 Apr 2023 09:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VrOsgLk4nRQ8eCcYXvi/Wkky3os3Gtp9NYdLIsxycCc=; b=s1nuSSV6nvabiV/r2mfwmVeyyf u4auUr+Z7lW8PuJNf1yO5bgaJny1SVKTSoEt/2SeJVkjx/KtLlZ2DOlz8YyJ7/nvv9XktIqmtTCdj WcZCj1wLv1K9yKzZ7KD0k95rNGyakG3S6uDNlKuu28lIDN6BS0FvF9AxS78vgyXHH1tgNTnKzfXih 25Y3xw0SdAaZpO0KhpXmB++bNKZcbZ6z2WhPZI9XOfzydB6seqSiJ3nH1+TrDEsIH2ON/pwVx9m7l hSuMzf7Z8DEyMdAk30cQ02PYcFi9+7XEAuFBgfDWcmf7mMUEBiu0ml+n4+nQbFVR8xFIfjmcVO/x4 AjPujZmg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pjMo3-00EHFm-Ut; Mon, 03 Apr 2023 16:13:19 +0000 Date: Mon, 3 Apr 2023 17:13:19 +0100 From: Matthew Wilcox To: Christian Brauner Cc: Jiapeng Chong , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot , viro@zeniv.linux.org.uk Subject: Re: [PATCH v2] fs/buffer: Remove redundant assignment to err Message-ID: References: <20230323023259.6924-1-jiapeng.chong@linux.alibaba.com> <167990444020.1656778.1662705570875208111.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167990444020.1656778.1662705570875208111.b4-ty@kernel.org> 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_NONE 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, Mar 27, 2023 at 10:10:10AM +0200, Christian Brauner wrote: > > On Thu, 23 Mar 2023 10:32:59 +0800, Jiapeng Chong wrote: > > Variable 'err' set but not used. > > > > fs/buffer.c:2613:2: warning: Value stored to 'err' is never read. > > > > > > Applied to I think you should exercise extreme care with patches from "Abaci Robot". It's wrong more often than it's right, and the people interpreting the output from it do not appear to be experienced programmers.