CC: [email protected]
CC: [email protected]
TO: Ruslan Bilovol <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Pavel Hofman <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 
usb-testing
head:   8e6cb5d27e8246d9c986ec162d066a502d2b602b
commit: 02de698ca8123782c0c6fb8ed99080e2f032b0d2 [29/32] usb: gadget: u_audio: 
add bi-directional volume and mute support
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: x86_64-randconfig-s021-20210718 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?id=02de698ca8123782c0c6fb8ed99080e2f032b0d2
        git remote add usb 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
        git fetch --no-tags usb usb-testing
        git checkout 02de698ca8123782c0c6fb8ed99080e2f032b0d2
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=x86_64 SHELL=/bin/bash drivers/usb/gadget/function/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


sparse warnings: (new ones prefixed by >>)
>> drivers/usb/gadget/function/u_audio.c:907:20: sparse: sparse: obsolete array 
>> initializer, use C99 syntax
   drivers/usb/gadget/function/u_audio.c:914:19: sparse: sparse: obsolete array 
initializer, use C99 syntax
   drivers/usb/gadget/function/u_audio.c:921:27: sparse: sparse: obsolete array 
initializer, use C99 syntax

vim +907 drivers/usb/gadget/function/u_audio.c

02de698ca81237 Ruslan Bilovol 2021-07-12  904  
02de698ca81237 Ruslan Bilovol 2021-07-12  905  
02de698ca81237 Ruslan Bilovol 2021-07-12  906  static struct snd_kcontrol_new 
u_audio_controls[]  = {
02de698ca81237 Ruslan Bilovol 2021-07-12 @907    [UAC_FBACK_CTRL] {
e89bb4288378b8 Ruslan Bilovol 2021-06-04  908      .iface =        
SNDRV_CTL_ELEM_IFACE_PCM,
e89bb4288378b8 Ruslan Bilovol 2021-06-04  909      .name =         "Capture 
Pitch 1000000",
e89bb4288378b8 Ruslan Bilovol 2021-06-04  910      .info =         
u_audio_pitch_info,
e89bb4288378b8 Ruslan Bilovol 2021-06-04  911      .get =          
u_audio_pitch_get,
e89bb4288378b8 Ruslan Bilovol 2021-06-04  912      .put =          
u_audio_pitch_put,
e89bb4288378b8 Ruslan Bilovol 2021-06-04  913    },
02de698ca81237 Ruslan Bilovol 2021-07-12  914    [UAC_MUTE_CTRL] {
02de698ca81237 Ruslan Bilovol 2021-07-12  915           .iface =        
SNDRV_CTL_ELEM_IFACE_MIXER,
02de698ca81237 Ruslan Bilovol 2021-07-12  916           .name =         "", /* 
will be filled later */
02de698ca81237 Ruslan Bilovol 2021-07-12  917           .info =         
u_audio_mute_info,
02de698ca81237 Ruslan Bilovol 2021-07-12  918           .get =          
u_audio_mute_get,
02de698ca81237 Ruslan Bilovol 2021-07-12  919           .put =          
u_audio_mute_put,
02de698ca81237 Ruslan Bilovol 2021-07-12  920   },
02de698ca81237 Ruslan Bilovol 2021-07-12  921   [UAC_VOLUME_CTRL] {
02de698ca81237 Ruslan Bilovol 2021-07-12  922           .iface =        
SNDRV_CTL_ELEM_IFACE_MIXER,
02de698ca81237 Ruslan Bilovol 2021-07-12  923           .name =         "", /* 
will be filled later */
02de698ca81237 Ruslan Bilovol 2021-07-12  924           .info =         
u_audio_volume_info,
02de698ca81237 Ruslan Bilovol 2021-07-12  925           .get =          
u_audio_volume_get,
02de698ca81237 Ruslan Bilovol 2021-07-12  926           .put =          
u_audio_volume_put,
02de698ca81237 Ruslan Bilovol 2021-07-12  927   },
e89bb4288378b8 Ruslan Bilovol 2021-06-04  928  };
e89bb4288378b8 Ruslan Bilovol 2021-06-04  929  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to