Received: by 2002:ac8:4f0c:0:b0:427:7d78:cd45 with SMTP id b12csp237126qte; Thu, 21 Dec 2023 00:18:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWguXU0oeZy+FgHf2RuhsTAlr9ohGfG15c87Sfwws91LM8JZAj2/VnloYwRDoiKEoXnDHD X-Received: by 2002:a17:903:244a:b0:1d3:d794:8a1f with SMTP id l10-20020a170903244a00b001d3d7948a1fmr6164878pls.11.1703146693172; Thu, 21 Dec 2023 00:18:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703146693; cv=pass; d=google.com; s=arc-20160816; b=JaRWr3V0vK/PJIfa4adVOkLk0Ygtkwc/nlT/QxhSa07ma4naoZL+kekS2X9rZbjdY0 adaHzAodHa775y1Bp/NzjVBo2hYp5SuqmcH2YdLoghMpzIRbe20kvS2DAMkvCDj3kiEm M/ZLx+lObQ1WQBSwpHftlsHSrsF4nLuTKz3KrULMWP8vz2mA5/rbgmXCHPI79iriBXlK LnvB/En2jteZah0NjEG2v+0rXADc40TW5S/8CIUUeIY0SgpxkKmdCo/I7I6pQKkWSgEX /tjdHA2XwAnhNK+SXQWTs/TEQU91eZLvNcLnk8JCdkOEA7UFOsPOf9ASHPUQlS3X/yY/ 3Mtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=+tg2S3wLN8Z+wikB+lVEAgB53/GX/ZMq4OIPexO5J+4=; fh=jxFe4pyrBGaM0Xp4T5iYCSQgsvc9uqVWYoJidgbCdb0=; b=nOzdyV++ig0s5Ng1NgD5lEaXdEEgu0kklCTE+B20/1U50z2e+BD6KIC8H/toPneVbJ wnjcpkt0AjIQLPmH/lzS3UD+HvCtymdhxl4yhh95UPjJPtA10s6pD9oupSJlvH6K+VKK 9HWiHRyU2Lv9Qk0CoW0awY39F4KDv0iY+ls1+Grj1exxb5bqYVUGsTdpzh8jYajQnizP 0Vwk7Yo+DjR7BP45FVsPu65aCkDsJ054j0OKstigkNqhvxXOB3AA6MllJTd1t4gTiREg UHxlt1l81PwttpDY0vLtf9Rq/u/01uLpbo6nlTimBnXyLgmJdwJXUTnPylbgZSTraCGE IJOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VVKnrgD1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-wireless+bounces-1136-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ba4-20020a170902720400b001cc3397aa27si1090604plb.62.2023.12.21.00.18.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:18:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1136-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VVKnrgD1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-wireless+bounces-1136-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 13842B221F8 for ; Thu, 21 Dec 2023 08:18:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B672915AFC; Thu, 21 Dec 2023 08:18:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="VVKnrgD1" X-Original-To: linux-wireless@vger.kernel.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2078.outbound.protection.outlook.com [40.107.7.78]) (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 95B9115ADF; Thu, 21 Dec 2023 08:18:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGyZueoK8+s7hk+NUbeMAz/KwxMl8P0HdLBn9u9+1lS5j+7v8d+Bnl5CjO4pqYjlv/615Z+P3Ikz/vREhnmFFq6d9Pi3yHJL/yUtwhP1lRiWsPr6ThDsmsFdKkQiMIeIOLvp4LPFkef9PdpeyZHjU8U5dIJsaUDy/we/TYbjoRqX6/c/7fIpvtju28Yrm7KTy+T+KQllp12ozDKhZkjuRW4FSt5oKIohRMN3b1pn8A9PtyNXdEGK1v187/zXY5A0LZSDdLLtI69KeCBHW3IwSQ+GXrp/ukelXtqPVFNhh2P9g8aCmOegay9vu3HdcAdUvyUFt+4IrCgtaYGMqejoNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+tg2S3wLN8Z+wikB+lVEAgB53/GX/ZMq4OIPexO5J+4=; b=UcM2nK+opPWrXym68tNj1uhw3YvRWWnX0hLj8QdPuz2+evzp1uiYoDtVewO4gAATX5OOdNXOOs14cfaKx0eXe23+wpcA1Q+OC83TJ7RaaLD7sx3JNJgOfL/5GghVzKnexoK+PGEnYJxtJW4Bi6x1SJE5tnw3dRq0XRcYpKCWdSEy1/6rH9hJHKE1v53M5Grs4KCZq4AQoR1HjBx5m58gwDDLN/BQ8qy2lraQypVCIsJeXLKUgjw8ZUQwl5fMI4k3At5dDTMFdkuWwzP8nD+b6ste95xkk/nBxeFgD90/VnslKRgEtyAjzpp3GpZ0MvI0/EltDjY3Y4EHxnUpfOBbgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+tg2S3wLN8Z+wikB+lVEAgB53/GX/ZMq4OIPexO5J+4=; b=VVKnrgD1RMjxk6TJmWMHrxsisixrNTg3QRAFrg9Wa6zfLwoir/ROFRVPQmZdELRFnWIlwCv5E8Of57NRSL1yfVqRqOUSfydku0r5hp2V6xaXbOFMGQFdOhJdnNfrI8MVkkh6qdKPnzIRA9vh4cY3lpSUTkg/Jh1w6eww+gf0NPA= Received: from DU0PR04MB9636.eurprd04.prod.outlook.com (2603:10a6:10:320::21) by AM7PR04MB7077.eurprd04.prod.outlook.com (2603:10a6:20b:11c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.20; Thu, 21 Dec 2023 08:18:00 +0000 Received: from DU0PR04MB9636.eurprd04.prod.outlook.com ([fe80::1f29:340e:75ac:d14a]) by DU0PR04MB9636.eurprd04.prod.outlook.com ([fe80::1f29:340e:75ac:d14a%7]) with mapi id 15.20.7113.016; Thu, 21 Dec 2023 08:18:00 +0000 From: David Lin To: Brian Norris CC: "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kvalo@kernel.org" , "francesco@dolcini.it" , Pete Hsieh , "stable@vger.kernel.org" , kernel test robot , Dan Carpenter Subject: RE: [EXT] Re: [PATCH v2] wifi: mwifiex: fix uninitialized firmware_stat Thread-Topic: [EXT] Re: [PATCH v2] wifi: mwifiex: fix uninitialized firmware_stat Thread-Index: AQHaM7DR3u/SShwFuUa/fn/L/erKDbCzBjeAgABedOA= Date: Thu, 21 Dec 2023 08:18:00 +0000 Message-ID: References: <20231221015511.1032128-1-yu-hao.lin@nxp.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR04MB9636:EE_|AM7PR04MB7077:EE_ x-ms-office365-filtering-correlation-id: 217f23cd-6434-463a-908d-08dc01fd58c8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +UUH2FRDB38cQjWFakY/a/LsJt+MHVag/5DgO1uUw/t2yE3mkbsmFXcl8YmQaK+CgHgt0TooBJibc7zcozb7E3OAYk5xmvq8F5rQ00pNreN3zYTPZk2+ttx79K4J8pqhtnUYmIdzaXt6nVCNHG0i8TH0Vq2u5mTktoAQ9Xp/6J3++6k3aDTDfm1DyvClyVMu5UfAdrThXIP60VV17jzQjz2ttMiYXLNZCSvbaFm7VWFKhwlZdGQ7hzKK60DNS25XIrWUT9ebab3wVmIhxFwTd7nnuln6CFiVcu3WiaordvY3rYNEcdLS+QMXo0SAw2zXf5di56K/Xe/UiOEgNY/jxPAtNI5MUzxT/KEj+4eoQ4gv9bSVG9hyeyxksKmHe7tkNm+W99UHB3kCi6DZKZ8Vjr9ik9OwjMFNicjcAL8nOP7TXqxbDif9Gm/OZGMCwQw//IoR1roadAa5CDzx8CXZ2eU580UV+VGChuelRu+8JNdUGKrOk+MFr/WYf9jd5qyuS80u7KUY9C460kqNJlJUKo0xqAdRhKfduvnJ/SXLtgF0mU3UbJC7yWNnPVjCzWvfdhglmUR6/AjwoDcyegwzjG3PDydvXsZm+MSp98Wpp9o+JpzXZe2REjGaMSgIgpjqRdxbP0SoIs5yjQFBDMwyMg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9636.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(366004)(346002)(376002)(136003)(230922051799003)(230173577357003)(230273577357003)(64100799003)(451199024)(186009)(1800799012)(26005)(9686003)(71200400001)(6506007)(7696005)(53546011)(45080400002)(122000001)(83380400001)(4326008)(52536014)(8676002)(8936002)(41300700001)(2906002)(966005)(478600001)(316002)(6916009)(5660300002)(76116006)(66946007)(54906003)(64756008)(66446008)(66476007)(66556008)(86362001)(33656002)(38100700002)(38070700009)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qM1BjZwl53RKW1Ey0Nt0xu4ZZbdFV21S62QGtdBQkIFgLaR75jumfqmPfbdk?= =?us-ascii?Q?8/9V/Uy1tI8eMUBXqhmIpDmtvGuPEQaW+OU7ehw6BY+KAw/lWfNxjAyJciRz?= =?us-ascii?Q?Xi4URcaXyMBPnXoJFvF+RkuofrzRWnzgnW7is3DoYnCEzOT+ocsDlkMeFAQx?= =?us-ascii?Q?W5+TFn6sQfdy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Z2dZuN95qtZ?= =?us-ascii?Q?a/4eRGB5tfvn1uBZiP758tjE5KksX9owjy8W1TKXwrHX1m/zmRDolSVqHjlu?= =?us-ascii?Q?g1ntJCAy0TAGgmPwSRaWOabxEJETovgaJc5XYKCbGJJRTDEMd8wYwMQw+Xqc?= =?us-ascii?Q?MfR7BlwZ7oZAysl0Ev4Nf9t0e4K6BJDOPYm1JASYQNWbyKQ2lSyePyczIG3J?= =?us-ascii?Q?CNfQJjdstigwPDd2wZM3fW124G1c2IpykF/sKw6rODq5AkF750QvJn/6shS+?= =?us-ascii?Q?Hjr7SgwTuQ7ABNdK6cAHCtJEvnP7rHpODwJWOQRY81bUex66lr7OxtfUTQI9?= =?us-ascii?Q?Pnco8Xj4lcs13SZ8TV3x97Qn+F1dXxpPAKtcefx1c4eFBLiZ9ExcO5686rzW?= =?us-ascii?Q?RuVJP6CE0oz7ATQymn9sGsi4pqP3JBa99MIRSc0kVFjg9SXm5OUIYPH/+oiE?= =?us-ascii?Q?M0rMlYkesupOW/uqDMQI5NAkMHgfS2TptOIRwgEv4r04ha8vtoI8pfDV/b+V?= =?us-ascii?Q?WJTf2XH0ldR/iUFggPqOnoAuTNGYO0Ov7E6sQsJ4?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9636.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 217f23cd-6434-463a-908d-08dc01fd58c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2023 08:18:00.7205 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1Ds5jtxkHCdlttdIP7X+BQ9A0f55fy33K08oRd2iUsmjWWb5mCPizET23BsXI0WyvbF+LRmn6s5yAna2l3Aemg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7077 > From: Brian Norris > Sent: Thursday, December 21, 2023 10:39 AM > To: David Lin > Cc: linux-wireless@vger.kernel.org; linux-kernel@vger.kernel.org; > kvalo@kernel.org; francesco@dolcini.it; Pete Hsieh > ; stable@vger.kernel.org; kernel test robot > ; Dan Carpenter > Subject: [EXT] Re: [PATCH v2] wifi: mwifiex: fix uninitialized firmware_s= tat > > Caution: This is an external email. Please take care when clicking links = or > opening attachments. When in doubt, report the message using the 'Report > this email' button > > > On Thu, Dec 21, 2023 at 09:55:11AM +0800, 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.kern/ > el.org%2Fr%2F202312192236.ZflaWYCw-lkp%40intel.com%2F&data=3D05%7C02 > %7Cyu-hao.lin%40nxp.com%7C813d1bc65e8b41e8349808dc01cdf23f%7C686e > a1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638387231239605883%7CUnk > nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1 > haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DmGQ3tVhTOnyO9wXiE > qI%2Bsym7LqLP5B6bEMofhhsXBzg%3D&reserved=3D0 > > Repeating: > > Acked-by: Brian Norris Sorry. I sent out v2 then I found you acked v1. That is the reason I won't = add "Acked-by" to v2.