[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601112158.zMc5ZyZt-lkp@intel.com>
Date: Sun, 11 Jan 2026 22:13:53 +0800
From: kernel test robot <lkp@...el.com>
To: fenugrec via B4 Relay <devnull+fenugrec.mail.com@...nel.org>,
Takashi Iwai <tiwai@...e.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org, roy.vegard.ovesen@...il.com,
fenugrec <fenugrec@...l.com>
Subject: Re: [PATCH 2/2] ALSA: usb-audio: clean up presonus s1810 consts
Hi fenugrec,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 7d0a66e4bb9081d75c82ec4957c50034cb0ea449]
url: https://github.com/intel-lab-lkp/linux/commits/fenugrec-via-B4-Relay/ALSA-usb-audio-presonus-s18xx-uses-little-endian/20260111-080634
base: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
patch link: https://lore.kernel.org/r/20260110-preso_clean1-v1-2-ce2dd3ea4506%40mail.com
patch subject: [PATCH 2/2] ALSA: usb-audio: clean up presonus s1810 consts
config: i386-randconfig-r134-20260111 (https://download.01.org/0day-ci/archive/20260111/202601112158.zMc5ZyZt-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260111/202601112158.zMc5ZyZt-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601112158.zMc5ZyZt-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> sound/usb/mixer_s1810c.c:182:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] tag @@ got int @@
sound/usb/mixer_s1810c.c:182:17: sparse: expected restricted __le32 [usertype] tag
sound/usb/mixer_s1810c.c:182:17: sparse: got int
>> sound/usb/mixer_s1810c.c:183:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] len @@ got int @@
sound/usb/mixer_s1810c.c:183:17: sparse: expected restricted __le32 [usertype] len
sound/usb/mixer_s1810c.c:183:17: sparse: got int
vim +182 sound/usb/mixer_s1810c.c
174
175 static int
176 snd_s1810c_send_ctl_packet(struct usb_device *dev, u32 sel,
177 u32 b, u32 c, u32 d, u32 e)
178 {
179 struct s1810c_ctl_packet pkt = { 0 };
180 int ret = 0;
181
> 182 pkt.tag = SC1810C_CMD_TAG;
> 183 pkt.len = SC1810C_CMD_LEN;
184
185 pkt.selector = __cpu_to_le32(sel);
186 pkt.b = __cpu_to_le32(b);
187 pkt.c = __cpu_to_le32(c);
188 pkt.d = __cpu_to_le32(d);
189 pkt.e = __cpu_to_le32(e);
190
191 ret = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0),
192 SC1810C_CMD_REQ,
193 SC1810C_CMD_REQTYPE, 0, 0, &pkt, sizeof(pkt));
194 if (ret < 0) {
195 dev_warn(&dev->dev, "could not send ctl packet\n");
196 return ret;
197 }
198 return 0;
199 }
200
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists