Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1186750rdb; Fri, 16 Feb 2024 07:48:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgghyFsl65qpt328tWdyJyvWUsLbQdFgS6FR3C3Eofw+6ai0nfNryEOjOkk9KiuT46shcYh/Q5+gsLXDjN+cm8jCd/iDtpkYu/DZ152w== X-Google-Smtp-Source: AGHT+IF8BYpGIjM4yKHMAaTvHPNrI3gYlZzHWe5dGr7sh7n8w/O3LSUhupCgfS9FJvgd6nmM506B X-Received: by 2002:a05:6402:1502:b0:562:80:fe95 with SMTP id f2-20020a056402150200b005620080fe95mr3696594edw.39.1708098504793; Fri, 16 Feb 2024 07:48:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708098504; cv=pass; d=google.com; s=arc-20160816; b=PkFEXhdSwsAbdYsxf/h48OzrOBphSmhWp6TyM/qk2919zIw2lwbuu5qeG3t/IHnW5k Mog2UZF4YZLcteuo+KnGuhcN/xZDh8qX4iFcyhkXUDwAGs+y8CzDFuCy1QV/6N3DEFJy qpoa10JED2inJeSCS3k6W3F4ZuLxB5VYtn/wR9dfnETkVndZp4Z6udqJ8F9xsCpMfpWs XnADs24Pyd+0P2y3sILYoM5wnE/GINomDcD1MOHyoHMzfLGy9NQkzkiMIZyqCa0iv3Nr uum8KGFfg68oW+5jPvnU85VGf1z6F3LxxDMzbazRl3+KK14RDlbV0TgJNPR+Vga9D5De XzxA== ARC-Message-Signature: i=2; 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=zAIZvYkdBqYWSH/KAdFoGlF2eOaxLikkjxQbZZBx+t4=; fh=Ysr9S6HptPdgnNvW/LDUoycynAutUPyqWuR3eMQ+9yA=; b=PSdzQhzax+1BSlELFC+7dYjiWkU1cLOooHKlF+ree8s+/eTHb7oD6awwvF+Q96U0ca Ek/mGZyWXIbX3uXXNJH4BXcD3SXLaBHoIoolr5/B/EBn3654cFNNtTNSjNSNJGxjqp6u Afti7QOABgA07yk7QQUCwFGmQl+VmX9LSgFModMr/pltgZxT9vNQ7V49nMsGHgeTAbIG 4I2NP/Vzm6aLoy6F1A7IShu7sn1y1VYL93KhhRK7P0ZugeZE3wjjrk3H1ajz+JLqfx5o X9Wj4El14OxDq9rtdzWRhkPpIp6ruwY1xREFE9w6gNwJlmauxnaeEuqNkpur4KTLwpN+ GTmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D+ak1HYb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f7-20020a05640214c700b00563b8a5bb8csi71489edx.227.2024.02.16.07.48.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:48:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D+ak1HYb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3683-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 854BB1F21D4A for ; Fri, 16 Feb 2024 15:48:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B7F212F395; Fri, 16 Feb 2024 15:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D+ak1HYb" 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 07A0412F373 for ; Fri, 16 Feb 2024 15:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708098501; cv=none; b=NbGWYFYhfotEZna6pvVVugcTZi1Mh/+xhibSpaXumzY5uZZyTXx66Vryq0AHOiN1H/J+i4VwlRshxTVaiAEvS3IVClUp+oDaiOWovvDL7DrRjURPI2Lf4v4x9JZYi6UJg1uQvjodFBa9JsuAczH1KfmK7N3cKrsbXKGIVA3y7h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708098501; c=relaxed/simple; bh=5UBfHLNZbAkY2bhnUTtNXgqZI+KqQD4ETcUNh2WvWNQ=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=bPvvgpBD52M+Ipl7Wqw2ydBDKch0ca31q7NEjUjgHY9BxyCModKDNOl2GAq4OBNpMWnL7Z1UscxNlZYgoW1+3RDuC1P0qfRKogb5PEY7d5cJynJj80t0mn0X2+mxL6GE+3LHLlKOk+J7DSDp/MjRI8316xhhUwxe+bFBLEDl+tY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D+ak1HYb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DDB9C433C7; Fri, 16 Feb 2024 15:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708098500; bh=5UBfHLNZbAkY2bhnUTtNXgqZI+KqQD4ETcUNh2WvWNQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=D+ak1HYbG/Z6ndyQhtAvtbPfZyvN3gAoply2nCBseKpfUVBnJon31UyJlNzuHkEJq +LaHqmc+oYvHCGd0ZbeMhQAo14H28iVO6qeqRijoNrySyy80BAgbvAE4jmrFv5JT3K wOWp2l8Diqtgk+2kZ6rVFozuiT2573mjyaFdCdQ4TA9IVEfS1njZG0Lf1K+IGGEbBd 5BOIfb5i9OWxWSsiOsnhVhRya3LH21YuxQ9htl2CJFwXDkWHfp5fxaXEnbV4mT0NIf xqPZJHLd1MQFsmOKJSkiuy9Ogu3KN78RR5w7HCv24HbDy2vvaP1MhBYU8pFmCRismy /09RRPFA4R4/A== 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] wifi: wilc1000: fix sparse incorrect type in assignment warning From: Kalle Valo In-Reply-To: <20230830042300.87184-1-ajay.kathat@microchip.com> References: <20230830042300.87184-1-ajay.kathat@microchip.com> To: Cc: , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170809849714.4095987.15396075980743029393.kvalo@kernel.org> Date: Fri, 16 Feb 2024 15:48:19 +0000 (UTC) wrote: > From: Ajay Singh > > Remove unnecessary byte order conversion for 'key_mgmt_suite' since > wpa_supplicant allows any byte order for AKM suite value. The change > also helps avoid the below warning: > > drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int key_mgmt_suite @@ got restricted __be32 [usertype] @@ > drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse: expected unsigned int key_mgmt_suite > drivers/net/wireless/microchip/wilc1000/cfg80211.c:361:42: sparse: got restricted __be32 [usertype] > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202308290615.lUTIgqUl-lkp@intel.com/ > Signed-off-by: Ajay Singh New version available: https://patchwork.kernel.org/project/linux-wireless/patch/20240215-nl80211_fix_akm_suites_endianness-v1-2-57e902632f9d@bootlin.com/ Patch set to Superseded. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230830042300.87184-1-ajay.kathat@microchip.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches