Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp98103rwr; Tue, 2 May 2023 16:41:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5XWgWMFxlYoKT/f8mUpwWiG1aVdZKaltH7ieTIbsqxy1IH+v3OiUe8lI49epNBYw6ucoys X-Received: by 2002:a17:902:ce81:b0:1a1:d54b:71df with SMTP id f1-20020a170902ce8100b001a1d54b71dfmr207427plg.0.1683070913603; Tue, 02 May 2023 16:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683070913; cv=none; d=google.com; s=arc-20160816; b=llzkmhLYhWqNN9Ro6neNOpV8g9paKNu6aQ7mrlYwyqH7lqIDCwJF6vwbSmvCVZ6CLp DPSPEjPbNxg4lZQ/eIMjHFfucxDUt6HGG0d90r86R5utKo1hSmsW/ROf2qY73RHheigU 7zEft7Ey4Vj32zIlaLMwDy/XuzNCWdSW69u6tkTyXBtCZfEGLH/uknnxoakZ01sJakRw ULmnRLcAuetu4j/zowFOpFIC9ptrRT2diWDvmIDOPENHeRtimJot8fzNhRkQmk/SDTy2 QKO4QHQs9qXYZ3iys3KlRs4Z6T2kWZiVXh0b40jkywpUk8lhsnHFyU1ubeDxK08QjTXb u6VA== 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=DCCDMXns57nPsLdJGb9E6WpE+yDkCf8eWVUNtOrwEJs=; b=vjN+3NuR+Ko9lr0DSyPMCxHTErSLi32zDwL22TsxKKnCgxPpJmgPzCm87exh650M68 mKS0zuEoZB9oMKfBKjf+dCmCaOSy/lyxdEjS1YZHDjHy+1u+W3WRTRMzbeT04T0ERTwk RYh4kPkxxEIKgScGFtSc4ZmklBhqnwU/yZH3dRuuEVQyS2PRg0LwjSqYt/a+0EWeHMxF smG7yPlEVlczHFopJP1DqNt4caQZn0dCyhnlF7JituZEMcJ9NQgZJvuVImqfzQ5uQTTk zSoWTPDvCt8FunfUy9YMsbEjK64Ftvh7EGM9kco+ujk5bHp0ZIoILIU9ojwWdCgyopjO bt9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=fElTX+cf; dkim=pass header.i=@codewreck.org header.s=2 header.b=gtQ3nlWP; 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=codewreck.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a170903234700b001a52dd0195csi33797617plh.549.2023.05.02.16.41.38; Tue, 02 May 2023 16:41:53 -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=@codewreck.org header.s=2 header.b=fElTX+cf; dkim=pass header.i=@codewreck.org header.s=2 header.b=gtQ3nlWP; 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=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbjEBXdS (ORCPT + 99 others); Tue, 2 May 2023 19:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjEBXdR (ORCPT ); Tue, 2 May 2023 19:33:17 -0400 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7572128; Tue, 2 May 2023 16:33:14 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 6D91DC020; Wed, 3 May 2023 01:33:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1683070391; bh=DCCDMXns57nPsLdJGb9E6WpE+yDkCf8eWVUNtOrwEJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fElTX+cfICmZL/Fu+WBThks+fQBSCYqochAQKPK3NFK2PEcYAp64RlVcgHOswe7Ad FeLCZ5ezU6FqXoBLBr37O5mnEhy3HJmFjIb/Hs2pXeopC1IgSxV5LFVRY57YXIhEFr dOnUf8uF+V/OgDqIcQLPT7bfg4PbRSZUxIM/Hp4BczNij0VK28QB9Ry5t0XNGhENOT nkspQCmnyMddo99E0cc5YEXQwndjTbsjoXA4G+lRE8kEowC4ENl3OGFdemaYBp47m4 0CGH73YIdSiDoOz7GYfDIl6DhfhQUhAdQBX4r1hqY8t610tHQHryBXBuO1noOl2nGX /4kj1J4j5SX0w== X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 5DACFC009; Wed, 3 May 2023 01:33:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1683070390; bh=DCCDMXns57nPsLdJGb9E6WpE+yDkCf8eWVUNtOrwEJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gtQ3nlWPVXFopl3E1YZUCIWANx5teA4UF9pzxP7h1tdN/ZfjKGtb9QMHX1t2LtAfI 9OHKoimKjVXbx1cTMLcRLGhh9UY7Uk4f3RTt3/t1z+6PKH9l5R95zp6rVdeH66jilk KQw1jrFOSj6TnYxiBqetin31Rlg+uA8VeG8e6jFFd3RMkZ11pU8cNAJ8+xT4lD3ewb DcAOeYNdMdlqd3lnjo23oxG33adB0IETWclFyIr6ZRdE0qiom2KG4hMX5ARklmopHR iu+T6SB1r0qoZF28eB2VaK9MmeZvyHwHZxDoTWSGtrYE8Mndre1XE/zQl4Y+ZM4Uz8 wuYfVtWC9TgKA== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 08906240; Tue, 2 May 2023 23:33:04 +0000 (UTC) Date: Wed, 3 May 2023 08:32:49 +0900 From: Dominique Martinet To: Simon Horman Cc: Eric Van Hensbergen , Latchesar Ionkov , Christian Schoenebeck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , v9fs@lists.linux.dev, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 1/5] 9p: fix ignored return value in v9fs_dir_release Message-ID: References: <20230427-scan-build-v1-0-efa05d65e2da@codewreck.org> <20230427-scan-build-v1-1-efa05d65e2da@codewreck.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for all the reviews! Simon Horman wrote on Tue, May 02, 2023 at 04:46:17PM +0200: > On Thu, Apr 27, 2023 at 08:23:34PM +0900, Dominique Martinet wrote: > > retval from filemap_fdatawrite was immediately overwritten by the > > following p9_fid_put: preserve any error in fdatawrite if there > > was any first. > > > > This fixes the following scan-build warning: > > fs/9p/vfs_dir.c:220:4: warning: Value stored to 'retval' is never read [deadcode.DeadStores] > > retval = filemap_fdatawrite(inode->i_mapping); > > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Perhaps: > > Fixes: 89c58cb395ec ("fs/9p: fix error reporting in v9fs_dir_release") Right, this one warrants a fix tag as it's the only real bug in this series. I'll add the Fixes and fix the typo in patch 5 and send a v2 later today. -- Dominique Martinet | Asmadeus