Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10106251rwp; Thu, 20 Jul 2023 14:54:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlEm5V2lSUzR7Rd4m8RU9ZMdWdb+XpANVODf3/fkH4/2SDshqlz9jKmxJi2IBp6OLjuVwOcz X-Received: by 2002:aa7:c382:0:b0:521:db0e:93d9 with SMTP id k2-20020aa7c382000000b00521db0e93d9mr98696edq.40.1689890056859; Thu, 20 Jul 2023 14:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689890056; cv=none; d=google.com; s=arc-20160816; b=AfsS1bx+OWS+NjYQtVwD/aVRaSoXR2DEZ9CewFb5iIqbB3J1YqgoXIk7QFSZFJgYH9 qRBdrQIPT01iPD2QwrA9EURb2eT1pW8H+wUd5VFwWVCSWwghAxKNrQDWPzSQuT9Iycul 1xCmrgkLRwifv63hckC4s8TQI2K730ijEoLZXNUp9o5GBWbVLgMt0xtg6QNZsqsDDz7X yoZ21XYHeg25/dzGifkzYhrVdc59a9O46M/gaANl2rrH0GJfvS0z6SU4NbLHY5azNw8i VcnHpfDp3Bk30tZZDK2PFkHBHTg0sVyZxrWJEBuiY8CMi4wRjAK4rbv3a4obL4oDuH4v amNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=q1fPRihNPlYp2UOiDBrsb+j+Q3KInl4ViKzC2VbPDZQ=; fh=JnTmcCPW6FAuTKsYXSR6p+dhXYZo5IMCBxoAYYMf8Ok=; b=S38PC/Ay3e1HAB/S7xNTXJWOd4sXc/fVJ14+ASopIjBQ7yXdxd+eS4J5bYiPJAIOJW aN9anSFK8M+3qjFmuykbLv6rjOPt3Eg0GR2h2YcPkJv42jF5WpVOX3l0/42FzfHK7BVr +STOdZ+dvvkl7Pzo3O900Tu99TfWX81U19e0VvmKQ4sF7mnZtZxOtl5QaDQnX/q90w6x s/Pj4sGs8tDeHF1WeIlQQoO04Jd5G7TnY6vMYE3TLwXAkXgBPpvFECLGnyOcJjX2Ywd+ L3lvg4o+wwNZYQIa9USxXvfobAAiOCNDWekYy1SxBelQagIZM0OZnksu2DdPj+jlsCDK DBUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ft30Hvzq; 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 f5-20020a50ee85000000b0051e285a01b9si1341404edr.458.2023.07.20.14.53.53; Thu, 20 Jul 2023 14:54:16 -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=ft30Hvzq; 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 S229783AbjGTV0k (ORCPT + 99 others); Thu, 20 Jul 2023 17:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229619AbjGTV0j (ORCPT ); Thu, 20 Jul 2023 17:26:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A61B726AB for ; Thu, 20 Jul 2023 14:26:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 449FE61C67 for ; Thu, 20 Jul 2023 21:26:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DE5AC433C8; Thu, 20 Jul 2023 21:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689888397; bh=QXJ5DENNJsGYLk/GgQ5ri8+fy+kqaicG8P7w0hubSiA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=ft30HvzqWR5WHXm7TaNvcVag948O3BCdkDks7hXb9ryz+DWqTQOpzAhsQwMfCa6cl qenZi3I9pQvFRfUzI5Q3PSojIiAc3I5b4JZraDqplW1QEbFjYEG/x4iayE7gTMKERT 22qjefFWZdTq8aYIJh8Ii3hIwHjBUu6w7nVpOSI/2Lpt/YG07E/FgV3FtW8fUR0m03 BWlFsG8g8f5CW+s8rTZ5rXoTem2q/L4TvcjogEkZQ9WuV7JDI7/IwD/K5AxbTE93+b bRirKtx72SbwI1zoBZRXYD1P5U0SFmUQDo+hLTN+tdwq5fvnlfet+6PwO0J4/TnpxI oOmYfEj2X0Ipw== From: Eric Van Hensbergen To: Eric Van Hensbergen , Latchesar Ionkov , Christian Schoenebeck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Dominique Martinet Cc: Simon Horman , v9fs@lists.linux.dev, linux-kernel@vger.kernel.org, netdev@vger.kernel.org In-Reply-To: <20230427-scan-build-v2-0-bb96a6e6a33b@codewreck.org> References: <20230427-scan-build-v2-0-bb96a6e6a33b@codewreck.org> Subject: Re: [PATCH v2 0/5] Fix scan-build warnings Message-Id: <168988839634.88307.10673257683695224856.b4-ty@kernel.org> Date: Thu, 20 Jul 2023 21:26:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, 03 May 2023 16:49:24 +0900, Dominique Martinet wrote: > I ran scan-build very crudly on our source files, and there was at least > one real bug so we might as well run it once in a while, in which case > we probably ought to also fix the less important things hence this > series. > In here the first patch is a real fix and the rest is low priority, the > last one is arguably not an improvement and can be discussed (happy to > just move the 0-initializations around to variable declaration which > would also silence scan-build afaict) > > [...] Applied, thanks! [1/5] 9p: fix ignored return value in v9fs_dir_release commit: eee4a119e96c2f58cfd1b6d4de42095abc5f8877 [2/5] 9p: virtio: fix unlikely null pointer deref in handle_rerror commit: 13ade4ac5c28e8a014fa85278f5a4270b215f906 [3/5] 9p: virtio: make sure 'offs' is initialized in zc_request commit: 4a73edab69d3a6623f03817fe950a2d9585f80e4 [4/5] 9p: virtio: skip incrementing unused variable commit: f41b402d2572e93bee85669ed05eb5e1f3725704 [5/5] 9p: remove dead stores (variable set again without being read) commit: cf7c33d332ab67603f159123b691c61270b14c33 Best regards, -- Eric Van Hensbergen