From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE24DC001B0 for ; Thu, 29 Jun 2023 20:13:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3663B83A; Thu, 29 Jun 2023 22:12:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3663B83A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688069615; bh=YR55s/YwddWxWwfOf0clS/o3BYmmdYN/Fe7FfYsaKLc=; h=Date:From:To:Cc:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=eyG7aujGykHbPOP1IQz8Nlafdmr15Q4BLfV583vntrBJcQxJixm64vKTV+k3h2MEi lZGZ1EcfODijAo1T6Dl09/4hx95g7MQG42Ddf+H2wfwQK/OkZbSVdUXjEdLQGYcO9Q Lvauaj1amiqZ20iVH0wr1IdhmkOuxC9TiIBYkcdQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C0F94F80553; Thu, 29 Jun 2023 22:11:55 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 31135F80548; Thu, 29 Jun 2023 22:11:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0D452F80246; Thu, 29 Jun 2023 22:11:51 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B183AF80212 for ; Thu, 29 Jun 2023 22:11:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B183AF80212 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=WpzlnYxZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688069506; x=1719605506; h=date:from:to:cc:subject:message-id:mime-version; bh=YR55s/YwddWxWwfOf0clS/o3BYmmdYN/Fe7FfYsaKLc=; b=WpzlnYxZjZAaSrq8ZiozxQsM3gUPIBM0ADC45RAS5TkjjW6tn/yjH6mR wnNmZnYb9358IZCWYs4PLTjldcWxxUGUFxgkcsOMsiMnTKvXQvi7bGU3R CUmyxfGcSXZRO/Ul/lqgzxK+2Sh3IPzvKetAkZY3VkpaWeY9ALoPZCy8r fhnqMlGRUIwiBrGd2RvU08hyVSOHHqL0L8XE/DJ2tH1GcLztn3U5pfcEz c29Op1SgyQSiS+LDEuQzOjVwPtjxzF7WXMwdBBxBzlCANrsZytuzWGjt0 JQ6Rth21ooCAGr4LjbZq5QNhWxvCRaN9z0PG2FffnujmQFVhuVFFCima1 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="364795161" X-IronPort-AV: E=Sophos;i="6.01,169,1684825200"; d="scan'208";a="364795161" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2023 13:11:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="891509621" X-IronPort-AV: E=Sophos;i="6.01,169,1684825200"; d="scan'208";a="891509621" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 29 Jun 2023 13:11:39 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qExzO-000EN7-1I; Thu, 29 Jun 2023 20:11:38 +0000 Date: Fri, 30 Jun 2023 04:11:32 +0800 From: kernel test robot To: Takashi Iwai Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, alsa-devel@alsa-project.org Subject: [tiwai-sound:topic/midi20-gadget 56/56] drivers/usb/gadget/function/f_midi2.c:483:6: warning: no previous prototype for function 'reply_ump_stream_fb_info' Message-ID: <202306300419.dOOgnkIH-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Message-ID-Hash: 73MIYCIKHW2SGEFALM7GIET4DTFWHHB2 X-Message-ID-Hash: 73MIYCIKHW2SGEFALM7GIET4DTFWHHB2 X-MailFrom: lkp@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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: i386-randconfig-r023-20230629 (https://download.01.org/0day-ci/archive/20230630/202306300419.dOOgnkIH-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230630/202306300419.dOOgnkIH-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202306300419.dOOgnkIH-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/usb/gadget/function/f_midi2.c:483:6: warning: no previous prototype for function 'reply_ump_stream_fb_info' [-Wmissing-prototypes] void reply_ump_stream_fb_info(struct f_midi2 *midi2, int blk) ^ drivers/usb/gadget/function/f_midi2.c:483:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void reply_ump_stream_fb_info(struct f_midi2 *midi2, int blk) ^ static 1 warning generated. 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