Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp191285rdb; Thu, 21 Dec 2023 06:41:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQ/DfFi9xo7UaUh9TOb7dBgcCe8Xtu4uGnqENmkniCOsehPee4zXqSMHQUmUm1jLg/B74r X-Received: by 2002:a17:903:124b:b0:1d3:33b1:f58d with SMTP id u11-20020a170903124b00b001d333b1f58dmr10624667plh.93.1703169706013; Thu, 21 Dec 2023 06:41:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703169705; cv=none; d=google.com; s=arc-20160816; b=tm4TguLe2ai8v94Z3RIF58fUB3EW7HTfntR6fw+rCMiT9qfMDRyQhaXKHX2Cock0HY ug0KF7rdmDmcH2rMKebRIfie9MYMjRXX2ph6qnINFSSumq/M4kAyiNm/BGAmaWqkjYqV AVef/x2Jghz071anjVyfi2/XVTWYFlubK46e8G5F0+Zj6cg03x6eVtgH/pqw5Gm60C6H Xc1U9IEkwltspHkMzU6JfWJ909pA/oQsIRHkFa9FpguFOqdCNLa9wnX+IOYU9fXP66aQ ZjlcG83YgIm8l65px8D05WAcJETMd6rvI8ye30RUTXLCqKf4nRoyhBc2OLizoZj51+Nj Ibew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=lrGcOI9CQiEH/NxiF5foHB/preAOp6zRC5PyLGCeDnU=; fh=W7QXof3Gaqfxe1MH07qOJQZWXeBg55+aoY3Whw7g9nk=; b=wvsEe7YSvvs2GByCfpXwHpLhmdYEbDmBNtZUAqbaUSf7OgNWFCaFjl4GzLXHDD/idg 6fDo0KGNBXsi1afoR87cb0lfpejbm3d7wQNgspvokMczMOs/xHARJSn9O2Nz3GSsf0uP k6+jzGVWTDpIo1AUxJv2kWq4nvPTLhT9ckeouR6efZzz6dO39LqxDcNBfPAb6k/sCtJm b5VB5AoD5mCs89hVb4pATZFODyDH5OjR8sbn+2yNUVEh08fy65bPX/C+ahEguPh19dqq eI7oXNaz5sBQ35Bb/msWyFJln8IjH6jC5fUgK1Hfe+KVmRcjd+XPNdzg1zLo3PA9Wdk0 G2zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=atejqCvs; spf=pass (google.com: domain of linux-wireless+bounces-1149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a14-20020a170902ecce00b001d09c96ba10si1602060plh.447.2023.12.21.06.41.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 06:41:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=atejqCvs; spf=pass (google.com: domain of linux-wireless+bounces-1149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7EB1C2857BF for ; Thu, 21 Dec 2023 14:41:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EF40A5C; Thu, 21 Dec 2023 14:41:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="atejqCvs" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D0441D69C; Thu, 21 Dec 2023 14:41:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31C6AC433C8; Thu, 21 Dec 2023 14:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703169702; bh=EVUMYl3rOlHtN/K6V9hi9IeUlzUhMbQYqoThI5xvNHg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=atejqCvskyYhQxXzNXFV6zuf9UR1fIL0CqfG4VlLwRt6ReMNwXqKiEpjvy5Srdbjo aIAoXM7fxtWEgsF4Vl7SCvoXfWvWcgIGLlH6FHcrAHUQTxHWxnAhJfgAUZXFNmbTjH 78KXRF43V6YN+eQQAqbsBn6hNVAwHSXDW/Mne5Q7swkujLyi+VRAOiAPJi7224VyXx tZDoTBwuXAuHy7bUAlP+5ZM6vjZj5lbjnQTTDoMXrCH43D9jAxvLp1irrd391jcA2N 8cGw1UxMsDDlaNynY+mgmlw9gm7pjgel+C5JVXv2sKLoJvtoWB0LfBe2P2yBhK/fdn gjEa9yzYV5CkA== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: mwifiex: fix uninitialized firmware_stat From: Kalle Valo In-Reply-To: <20231221015511.1032128-1-yu-hao.lin@nxp.com> References: <20231221015511.1032128-1-yu-hao.lin@nxp.com> To: David Lin Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, briannorris@chromium.org, francesco@dolcini.it, tsung-hsien.hsieh@nxp.com, David Lin , stable@vger.kernel.org, kernel test robot , Dan Carpenter User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170316969802.1243375.17807414549323669608.kvalo@kernel.org> Date: Thu, 21 Dec 2023 14:41:40 +0000 (UTC) David Lin wrote: > Variable firmware_stat is possible to be used without initialization. > > Signed-off-by: David Lin > Fixes: 1c5d463c0770 ("wifi: mwifiex: add extra delay for firmware ready") > Cc: stable@vger.kernel.org > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Closes: https://lore.kernel.org/r/202312192236.ZflaWYCw-lkp@intel.com/ > Acked-by: Brian Norris Patch applied to wireless-next.git, thanks. 3df95e265924 wifi: mwifiex: fix uninitialized firmware_stat -- https://patchwork.kernel.org/project/linux-wireless/patch/20231221015511.1032128-1-yu-hao.lin@nxp.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches