From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1614397770122168497==" MIME-Version: 1.0 From: Greg Kroah-Hartman To: kbuild-all@lists.01.org Subject: Re: [linux-stable-rc:linux-5.4.y 1315/3868] drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:987:20: sparse: sparse: incorrect type in assignment (different base types) Date: Fri, 13 Nov 2020 13:45:33 +0100 Message-ID: In-Reply-To: <8f839fca-8b91-92db-ee20-a9bfae4913a9@gmail.com> List-Id: --===============1614397770122168497== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, Nov 13, 2020 at 05:46:30PM +0900, Masashi Honma wrote: > On 2020/11/13 17:12, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-st= able-rc.git linux-5.4.y > > head: e72abf1f11a982a2a3fb555b5a9bd2eb2011dee8 > > commit: e307bfda74a9c66426313eca25ccfea877a50036 [1315/3868] ath9k_htc:= Discard undersized packets > > config: sh-randconfig-s032-20201103 (attached as .config) > > compiler: sh4-linux-gcc (GCC) 9.3.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.3-107-gaf3512a6-dirty > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux= -stable-rc.git/commit/?id=3De307bfda74a9c66426313eca25ccfea877a50036 > > git remote add linux-stable-rc https://git.kernel.org/pub/scm/= linux/kernel/git/stable/linux-stable-rc.git > > git fetch --no-tags linux-stable-rc linux-5.4.y > > git checkout e307bfda74a9c66426313eca25ccfea877a50036 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.c= ross C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=3Dsh > > = > > 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/ath/ath9k/htc_drv_txrx.c: note: in included fi= le (through arch/sh/include/asm/unistd.h, include/uapi/linux/unistd.h, incl= ude/linux/compat.h, ...): > > ./arch/sh/include/generated/uapi/asm/unistd_32.h:409:37: sparse: sp= arse: no newline at end of file > > > > drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:987:20: sparse: spars= e: incorrect type in assignment (different base types) @@ expected rest= ricted __be16 [usertype] rs_datalen @@ got unsigned short [usertype] @@ > > drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:987:20: sparse: e= xpected restricted __be16 [usertype] rs_datalen > > > > drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:987:20: sparse: g= ot unsigned short [usertype] > > drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:988:13: sparse: spars= e: restricted __be16 degrades to integer > > drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1001:13: sparse: spar= se: restricted __be16 degrades to integer > > = > = > I already fixed this issue by > commit 5024f21c159f8c1668f581fff37140741c0b1ba9 "ath9k_htc: Use appropria= te > rs_datalen type". > = > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit= /?id=3D5024f21c159f8c1668f581fff37140741c0b1ba9 Thanks, now queued up. greg k-h --===============1614397770122168497==--