tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/midi20-gadget head: ed28b6939ebadd073e731ccf0f2c6ce4ab102ffd commit: ed28b6939ebadd073e731ccf0f2c6ce4ab102ffd [56/56] usb: gadget: add support for USB MIDI 2.0 function driver (WIP) config: arc-randconfig-r005-20230629 (https://download.01.org/0day-ci/archive/20230630/202306300411.zojb9GzL-lkp@xxxxxxxxx/config) compiler: arceb-elf-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230630/202306300411.zojb9GzL-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202306300411.zojb9GzL-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/usb/gadget/function/f_midi2.c:483:6: warning: no previous prototype for 'reply_ump_stream_fb_info' [-Wmissing-prototypes] 483 | void reply_ump_stream_fb_info(struct f_midi2 *midi2, int blk) | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/reply_ump_stream_fb_info +483 drivers/usb/gadget/function/f_midi2.c 481 482 /* exported for shell */ > 483 void reply_ump_stream_fb_info(struct f_midi2 *midi2, int blk) 484 { 485 u32 buf[4]; 486 487 memset(buf, 0, sizeof(buf)); 488 buf[0] = ump_stream_compose(UMP_STREAM_MSG_STATUS_FB_INFO, 0); 489 buf[0] |= (midi2->blks[blk].active << 15) | (blk << 8); 490 buf[0] |= midi2->blks[blk].dir << 4; // UI-hint 491 buf[1] |= 0 << 2; // MIDI 1.0 port? No 492 buf[0] |= midi2->blks[blk].dir; // direction 493 buf[1] |= (midi2->blks[blk].start_group << 24) | // start group 494 (midi2->blks[blk].num_groups << 16); // # groups spanned 495 buf[1] |= 0x01 << 8; // MIDI-CI support version 496 buf[1] |= 0; // Sysex8 streams; not supported 497 498 reply_ep_in(midi2, buf, sizeof(buf)); 499 } 500 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki