[tiwai-sound:for-next 14/74] include/sound/ump_msg.h:196:13: error: duplicate member 'reserved'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
head:   15253079ca300160c92c9c0ee2541836463043f6
commit: 0b5288f5fe63eab687c14e5940b9e0d532b129f2 [14/74] ALSA: ump: Add legacy raw MIDI support
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20230611/202306112301.dMok4XSA-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=0b5288f5fe63eab687c14e5940b9e0d532b129f2
        git remote add tiwai-sound https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
        git fetch --no-tags tiwai-sound for-next
        git checkout 0b5288f5fe63eab687c14e5940b9e0d532b129f2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash

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/202306112301.dMok4XSA-lkp@xxxxxxxxx/

Note: the tiwai-sound/for-next HEAD 15253079ca300160c92c9c0ee2541836463043f6 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   In file included from sound/core/ump_convert.h:5,
                    from sound/core/ump.c:14:
>> include/sound/ump_msg.h:196:13: error: duplicate member 'reserved'
     196 |         u32 reserved:8;
         |             ^~~~~~~~
>> include/sound/ump_msg.h:197:13: error: duplicate member 'program'
     197 |         u32 program:8;
         |             ^~~~~~~
>> include/sound/ump_msg.h:198:13: error: duplicate member 'channel'
     198 |         u32 channel:4;
         |             ^~~~~~~
>> include/sound/ump_msg.h:199:13: error: duplicate member 'status'
     199 |         u32 status:4;
         |             ^~~~~~
>> include/sound/ump_msg.h:200:13: error: duplicate member 'group'
     200 |         u32 group:4;
         |             ^~~~~
>> include/sound/ump_msg.h:201:13: error: duplicate member 'type'
     201 |         u32 type:4;
         |             ^~~~


vim +/reserved +196 include/sound/ump_msg.h

   184	
   185	/* MIDI 1.0 Program Change (32bit) */
   186	struct snd_ump_midi1_msg_program {
   187	#ifdef __BIG_ENDIAN_BITFIELD
   188		u32 type:4;
   189		u32 group:4;
   190		u32 status:4;
   191		u32 channel:4;
   192		u32 program:8;
   193		u32 reserved:8;
   194	#else
   195	#endif
 > 196		u32 reserved:8;
 > 197		u32 program:8;
 > 198		u32 channel:4;
 > 199		u32 status:4;
 > 200		u32 group:4;
 > 201		u32 type:4;
   202	} __packed;
   203	

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux