Linux Sound subsystem development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: fenugrec via B4 Relay <devnull+fenugrec.mail.com@kernel.org>,
	Takashi Iwai <tiwai@suse.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org, roy.vegard.ovesen@gmail.com,
	fenugrec <fenugrec@mail.com>
Subject: Re: [PATCH 2/2] ALSA: usb-audio: clean up presonus s1810 consts
Date: Sun, 11 Jan 2026 22:13:53 +0800	[thread overview]
Message-ID: <202601112158.zMc5ZyZt-lkp@intel.com> (raw)
In-Reply-To: <20260110-preso_clean1-v1-2-ce2dd3ea4506@mail.com>

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@intel.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

      reply	other threads:[~2026-01-11 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-11  0:00 [PATCH 0/2] ALSA: usb-audio: presonus s1810 minor cleanup and document fenugrec via B4 Relay
2026-01-11  0:00 ` [PATCH 1/2] ALSA: usb-audio: presonus s18xx uses little-endian fenugrec via B4 Relay
2026-01-11  0:00 ` [PATCH 2/2] ALSA: usb-audio: clean up presonus s1810 consts fenugrec via B4 Relay
2026-01-11 14:13   ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202601112158.zMc5ZyZt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devnull+fenugrec.mail.com@kernel.org \
    --cc=fenugrec@mail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=roy.vegard.ovesen@gmail.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox