From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 592E2C433EF for ; Wed, 8 Dec 2021 06:39:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DC7A76B0071; Wed, 8 Dec 2021 01:39:11 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D77686B0073; Wed, 8 Dec 2021 01:39:11 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C663C6B0074; Wed, 8 Dec 2021 01:39:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay028.a.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id B7BC56B0071 for ; Wed, 8 Dec 2021 01:39:11 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 74CB4209D4 for ; Wed, 8 Dec 2021 06:39:01 +0000 (UTC) X-FDA: 78893674482.06.76C203E Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf02.hostedemail.com (Postfix) with ESMTP id C45FA80003 for ; Wed, 8 Dec 2021 06:39:00 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CACC0B80DAD; Wed, 8 Dec 2021 06:38:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55A22C00446; Wed, 8 Dec 2021 06:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638945537; bh=CQRZytf4mb67LQGv+pnIu08CGYCF8we8c4EYo9tUGIo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BXbsmGJTCk6trTIZJhn/KYbdUZ8TJUjCN9LrcKDzzIgj42XMkwKPKLa8+/HBlyXQv LdGDGEB+akMCxePlM1Dkz1jJQUQJGLTj1ZZaAd2DnDDsMYRP6+9cH7sfEVb7odhfR4 tpZgiaYuBLl9yY4Snxv3wdWU1jNXn14ZZMNh5+bxDPDR67i68f0FPecoxs4eHWw1ZC ps2doLPeTuR6RDntvLN4ILVTHUwLC74wh1fFtGdsuV0l2ka2jgzhx9F4mX1oTT4baA uoqTHJ/MTGSBPrYdnCj635D3yF9eMDNsBiv/AJ79Nbc4rwCCezw39wWQdJrCFkihym vQm7P6ENxnMIg== From: Kalle Valo To: kernel test robot Cc: Loic Poulain , kbuild-all@lists.01.org, Linux Memory Management List , "linux-wireless\@vger.kernel.org" Subject: Re: [linux-next:master 3307/5418] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3911:28: sparse: sparse: incorrect type in assignment (different base types) References: <202112080339.rKLd0aDI-lkp@intel.com> Date: Wed, 08 Dec 2021 08:38:50 +0200 In-Reply-To: <202112080339.rKLd0aDI-lkp@intel.com> (kernel test robot's message of "Wed, 8 Dec 2021 03:24:25 +0800") Message-ID: <87y24vfvnp.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Stat-Signature: gwzrrfa6oyth3ouu39h6zxibiszjz75p Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=BXbsmGJT; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf02.hostedemail.com: domain of kvalo@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=kvalo@kernel.org X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C45FA80003 X-HE-Tag: 1638945540-626646 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: + linux-wireless kernel test robot writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 04fe99a8d936d46a310ca61b8b63dc270962bf01 > commit: 7a6cfe28ae3ef6a78774fd1e21e3b76c90937112 [3307/5418] brcmfmac: > Configure keep-alive packet on suspend > config: microblaze-randconfig-s031-20211207 > (https://download.01.org/0day-ci/archive/20211208/202112080339.rKLd0aDI-lkp@intel.com/config) > compiler: microblaze-linux-gcc (GCC) 11.2.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross > -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.4-dirty > # > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7a6cfe28ae3ef6a78774fd1e21e3b76c90937112 > git remote add linux-next > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 7a6cfe28ae3ef6a78774fd1e21e3b76c90937112 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 > make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir > ARCH=microblaze SHELL=/bin/bash > drivers/net/wireless/broadcom/brcm80211/brcmfmac/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > sparse warnings: (new ones prefixed by >>) >>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3911:28: >>> sparse: sparse: incorrect type in assignment (different base types) >>> @@ expected restricted __le32 [assigned] [usertype] period_msec @@ >>> got restricted __le16 [usertype] @@ > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3911:28: > sparse: expected restricted __le32 [assigned] [usertype] period_msec > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3911:28: > sparse: got restricted __le16 [usertype] >>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3913:30: >>> sparse: sparse: incorrect type in assignment (different base types) >>> @@ expected unsigned char [assigned] [usertype] keep_alive_id @@ >>> got restricted __le16 [usertype] @@ > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3913:30: sparse: expected unsigned char [assigned] [usertype] keep_alive_id > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:3913:30: sparse: got restricted __le16 [usertype] Loic, please send a fix for this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches