All of lore.kernel.org
 help / color / mirror / Atom feed
* [nbd168-wireless:mt76 5/13] drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c:64:68: sparse: sparse: Using plain integer as NULL pointer
@ 2022-06-04 22:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-04 22:20 UTC (permalink / raw)
  To: Deren Wu
  Cc: kbuild-all, linux-kernel, Felix Fietkau, Sean Wang, Quan Zhou,
	Ming Yen Hsieh

tree:   https://github.com/nbd168/wireless mt76
head:   bf744ed33b209f6d8de1b2a5b806c5fe38cd1e7c
commit: ab79a7d7a96f3325a120b6658ea9d8a3eaa2eb09 [5/13] mt76: mt7921: introduce ACPI SAR support
config: ia64-randconfig-s031-20220605 (https://download.01.org/0day-ci/archive/20220605/202206050617.FMBZUzPN-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.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.4-18-g56afb504-dirty
        # https://github.com/nbd168/wireless/commit/ab79a7d7a96f3325a120b6658ea9d8a3eaa2eb09
        git remote add nbd168-wireless https://github.com/nbd168/wireless
        git fetch --no-tags nbd168-wireless mt76
        git checkout ab79a7d7a96f3325a120b6658ea9d8a3eaa2eb09
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/wireless/mediatek/mt76/mt7921/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c:64:68: sparse: sparse: Using plain integer as NULL pointer

vim +64 drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c

    59	
    60	/* MTCL : Country List Table for 6G band */
    61	static int
    62	mt7921_asar_acpi_read_mtcl(struct mt7921_dev *dev, u8 **table, u8 *version)
    63	{
  > 64		*version = (mt7921_acpi_read(dev, MT7921_ACPI_MTCL, table, 0) < 0)
    65			   ? 1 : 2;
    66		return 0;
    67	}
    68	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-04 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-04 22:20 [nbd168-wireless:mt76 5/13] drivers/net/wireless/mediatek/mt76/mt7921/acpi_sar.c:64:68: sparse: sparse: Using plain integer as NULL pointer kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.