Re: [PATCH] ALSA: hda: Zhaoxin: Add HDAC PCI IDs and HDMI Codec Vendor IDs

From: kernel test robot
Date: Sun Aug 13 2023 - 21:59:28 EST


Hi Tony,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING on next-20230809]
[cannot apply to tiwai-sound/for-linus linus/master v6.5-rc6]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Tony-W-Wang-oc/ALSA-hda-Zhaoxin-Add-HDAC-PCI-IDs-and-HDMI-Codec-Vendor-IDs/20230731-140118
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20230731055932.4336-1-TonyWWang-oc%40zhaoxin.com
patch subject: [PATCH] ALSA: hda: Zhaoxin: Add HDAC PCI IDs and HDMI Codec Vendor IDs
config: mips-randconfig-r073-20230814 (https://download.01.org/0day-ci/archive/20230814/202308140952.khPgynBT-lkp@xxxxxxxxx/config)
compiler: mips64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230814/202308140952.khPgynBT-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308140952.khPgynBT-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
sound/pci/hda/hda_controller.c:1051:38: sparse: sparse: cast removes address space '__iomem' of expression
>> sound/pci/hda/hda_controller.c:1051:66: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got char * @@
sound/pci/hda/hda_controller.c:1051:66: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/hda/hda_controller.c:1051:66: sparse: got char *
sound/pci/hda/hda_controller.c:1053:44: sparse: sparse: cast removes address space '__iomem' of expression
sound/pci/hda/hda_controller.c:1053:72: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got char * @@
sound/pci/hda/hda_controller.c:1053:72: sparse: expected void volatile [noderef] __iomem *mem
sound/pci/hda/hda_controller.c:1053:72: sparse: got char *

vim +1051 sound/pci/hda/hda_controller.c

1046
1047 static void azx_rirb_zxdelay(struct azx *chip, int enable)
1048 {
1049 if (chip->remap_diu_addr) {
1050 if (!enable)
> 1051 writel(0x0, (char *)chip->remap_diu_addr + 0x490a8);
1052 else
1053 writel(0x1000000, (char *)chip->remap_diu_addr + 0x490a8);
1054 }
1055 }
1056

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki