[alsa-devel] [PATCH v6 1/1] ALSA: Tascam US-16x08 DSP mixer quirk

kbuild test robot lkp at intel.com
Wed Feb 15 16:46:04 CET 2017


Hi OnkelDead,

[auto build test WARNING on sound/for-next]
[also build test WARNING on v4.10-rc8 next-20170215]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/OnkelDead/ALSA-Tascam-US-16x08-DSP-mixer-quirk/20170215-222805
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All warnings (new ones prefixed by >>):

   sound/usb/mixer_us16x08.c: In function 'snd_us16x08_route_info':
>> sound/usb/mixer_us16x08.c:201:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     uinfo->value.enumerated.names_ptr = (__u64) route_names;
                                         ^

vim +201 sound/usb/mixer_us16x08.c

   185		}
   186	
   187		return err;
   188	}
   189	
   190	static int snd_us16x08_route_info(struct snd_kcontrol *kcontrol,
   191		struct snd_ctl_elem_info *uinfo)
   192	{
   193		int i;
   194	
   195		uinfo->count = 1;
   196		uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
   197		uinfo->value.integer.max = SND_US16X08_KCMAX(kcontrol);
   198		uinfo->value.integer.min = SND_US16X08_KCMIN(kcontrol);
   199		uinfo->value.integer.step = SND_US16X08_KCSTEP(kcontrol);
   200		uinfo->value.enumerated.items = 10;
 > 201		uinfo->value.enumerated.names_ptr = (__u64) route_names;
   202		uinfo->value.enumerated.names_length = 0;
   203		for (i = 0; i < 10; i++)
   204			uinfo->value.enumerated.names_length +=
   205				strlen(route_names[i]) + 1;
   206		return 0;
   207	}
   208	
   209	static int snd_us16x08_route_get(struct snd_kcontrol *kcontrol,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 42766 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170215/27dc0c62/attachment-0001.bin>


More information about the Alsa-devel mailing list