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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A093EC7619A for ; Sat, 8 Apr 2023 08:56:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9FB136B0072; Sat, 8 Apr 2023 04:56:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 95CF56B0074; Sat, 8 Apr 2023 04:56:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7FE9C6B0075; Sat, 8 Apr 2023 04:56:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 6FDDE6B0072 for ; Sat, 8 Apr 2023 04:56:47 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 4093F408E7 for ; Sat, 8 Apr 2023 08:56:47 +0000 (UTC) X-FDA: 80657618454.03.2806E41 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf14.hostedemail.com (Postfix) with ESMTP id 80876100010 for ; Sat, 8 Apr 2023 08:56:44 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LdkdSGjz; spf=pass (imf14.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1680944205; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=oZK4mzYnvOcTyG3nHIDrDypRGrXjXxrFZUJG0zq8zpw=; b=UzYt1PZmbYNLCaDsDghK0bf5IuF3TKb1qDM4PBQexfQJ1+3VM/r+R54Vh1J6UF7Y2bOuUV IXEn7eY4+1lfgg4e7AGVgrDIg5vHNrQW0Wotsndju7XrjArwLm7sXEJPnuiow9XAGfqGHv EMnyZwxa619YyKlvQLryVE/3rTDrsSU= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LdkdSGjz; spf=pass (imf14.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1680944205; a=rsa-sha256; cv=none; b=wlurbVGQHSv9lXdQ6V/sTrCsvuqSajC75Gsxb3vTJCVEaKJPMeDsfm0jtCHyjywCjThMfa Mi3cf/tgj+ccKqoO0LZci/PodSMXPWMcxOuKX3S5j13kJLiPqMRK7VRc9I3ur/shfCEqem EJlJAdTdMAybZZ5lPZKvyRcKaISCq5I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680944204; x=1712480204; h=date:from:to:cc:subject:message-id:mime-version; bh=pDb6r1vpCiRf4dfBI9fpyY1N6hETDmmpPas+jfL2ArE=; b=LdkdSGjzLRhdyY2JhRcTTyO8mFtjk2ZDmBKIKrNdmgVymN4wEEX9u6C5 c/SarLmwnqm8dNBGAuFBkClNdOOVBLgIiJN/qNPs8mucJW2DiYSUbwjI6 U1ZH3eeOLC3TOePFEi5AHSQCzLlRAApy1MzqczYxMpdIP1tipa6V1R1BN eW58xTaJdrGWEepddGVnCfC+TX7eNbifLHN6KxXRlcdO2srZuhhXeLjsk 6KRERF+dfxgmt1F/3ezqaQkm1Y6FIvr8WZXNaa4DqH96Swgw2ZoJbiNxS lQw5m6y3sDPjt0sqFkkTaPJjgXWUzZH25tcPZHarWBYnQB1SNO6YI9Vrz w==; X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="408262783" X-IronPort-AV: E=Sophos;i="5.98,329,1673942400"; d="scan'208";a="408262783" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2023 01:56:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10673"; a="681242415" X-IronPort-AV: E=Sophos;i="5.98,329,1673942400"; d="scan'208";a="681242415" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 08 Apr 2023 01:56:41 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pl4NE-000TZJ-1n; Sat, 08 Apr 2023 08:56:40 +0000 Date: Sat, 8 Apr 2023 16:55:55 +0800 From: kernel test robot To: Viktor Malik Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alexei Starovoitov Subject: [linux-next:master 3167/9787] tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:271:14: warning: no previous prototype for 'bpf_fentry_shadow_test' Message-ID: <202304081653.o4NLO6MQ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 80876100010 X-Stat-Signature: h7ja8kkaw94shw5woydix59poyrqnzid X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1680944204-823575 X-HE-Meta: U2FsdGVkX19hLdxN0v/T5ecxdZvH2mPUFFp2Z8WiG1x0kZ5kaE+NsJlsaulRzKmATvzl4nG4uQ6nQYZtfglRu25yjYXROH2aYwyZBSR9wKh0WTkMhAvE/nX6P4RvfBFhVqZ1wx7zXOyvGyzPy47kIenGgBLsE4VcaP89qi3KP0bOC0JtE7xctRnUoa3My4K8718+kRpAYMH33Km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HZI/hN/froVMeLxWlw3ldq6GE325k X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e134c93f788fb93fd6a3ec3af9af850a2048c7e6 commit: aa3d65de4b9004d799f97700751a86d3ebd7d5f9 [3167/9787] bpf/selftests: Test fentry attachment to shadowed functions compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=aa3d65de4b9004d799f97700751a86d3ebd7d5f9 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout aa3d65de4b9004d799f97700751a86d3ebd7d5f9 make O=/tmp/kselftest headers make O=/tmp/kselftest -C tools/testing/selftests If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304081653.o4NLO6MQ-lkp@intel.com/ All warnings (new ones prefixed by >>): tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:32:1: warning: no previous prototype for 'bpf_testmod_test_struct_arg_1' [-Wmissing-prototypes] 32 | bpf_testmod_test_struct_arg_1(struct bpf_testmod_struct_arg_2 a, int b, int c) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:38:1: warning: no previous prototype for 'bpf_testmod_test_struct_arg_2' [-Wmissing-prototypes] 38 | bpf_testmod_test_struct_arg_2(int a, struct bpf_testmod_struct_arg_2 b, int c) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:44:1: warning: no previous prototype for 'bpf_testmod_test_struct_arg_3' [-Wmissing-prototypes] 44 | bpf_testmod_test_struct_arg_3(int a, int b, struct bpf_testmod_struct_arg_2 c) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:50:1: warning: no previous prototype for 'bpf_testmod_test_struct_arg_4' [-Wmissing-prototypes] 50 | bpf_testmod_test_struct_arg_4(struct bpf_testmod_struct_arg_1 a, int b, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:57:1: warning: no previous prototype for 'bpf_testmod_test_struct_arg_5' [-Wmissing-prototypes] 57 | bpf_testmod_test_struct_arg_5(void) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:63:1: warning: no previous prototype for 'bpf_testmod_test_mod_kfunc' [-Wmissing-prototypes] 63 | bpf_testmod_test_mod_kfunc(int i) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:68:17: warning: no previous prototype for 'bpf_iter_testmod_seq_new' [-Wmissing-prototypes] 68 | __bpf_kfunc int bpf_iter_testmod_seq_new(struct bpf_iter_testmod_seq *it, s64 value, int cnt) | ^~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:81:18: warning: no previous prototype for 'bpf_iter_testmod_seq_next' [-Wmissing-prototypes] 81 | __bpf_kfunc s64 *bpf_iter_testmod_seq_next(struct bpf_iter_testmod_seq* it) | ^~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:91:18: warning: no previous prototype for 'bpf_iter_testmod_seq_destroy' [-Wmissing-prototypes] 91 | __bpf_kfunc void bpf_iter_testmod_seq_destroy(struct bpf_iter_testmod_seq *it) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:109:1: warning: no previous prototype for 'bpf_testmod_test_btf_type_tag_user_1' [-Wmissing-prototypes] 109 | bpf_testmod_test_btf_type_tag_user_1(struct bpf_testmod_btf_type_tag_1 __user *arg) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:117:1: warning: no previous prototype for 'bpf_testmod_test_btf_type_tag_user_2' [-Wmissing-prototypes] 117 | bpf_testmod_test_btf_type_tag_user_2(struct bpf_testmod_btf_type_tag_2 *arg) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:122:1: warning: no previous prototype for 'bpf_testmod_test_btf_type_tag_percpu_1' [-Wmissing-prototypes] 122 | bpf_testmod_test_btf_type_tag_percpu_1(struct bpf_testmod_btf_type_tag_1 __percpu *arg) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:127:1: warning: no previous prototype for 'bpf_testmod_test_btf_type_tag_percpu_2' [-Wmissing-prototypes] 127 | bpf_testmod_test_btf_type_tag_percpu_2(struct bpf_testmod_btf_type_tag_3 *arg) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:131:14: warning: no previous prototype for 'bpf_testmod_loop_test' [-Wmissing-prototypes] 131 | noinline int bpf_testmod_loop_test(int n) | ^~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:143:30: warning: no previous prototype for 'bpf_testmod_return_ptr' [-Wmissing-prototypes] 143 | __weak noinline struct file *bpf_testmod_return_ptr(int arg) | ^~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:159:14: warning: no previous prototype for 'bpf_testmod_fentry_test1' [-Wmissing-prototypes] 159 | noinline int bpf_testmod_fentry_test1(int a) | ^~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:164:14: warning: no previous prototype for 'bpf_testmod_fentry_test2' [-Wmissing-prototypes] 164 | noinline int bpf_testmod_fentry_test2(int a, u64 b) | ^~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:169:14: warning: no previous prototype for 'bpf_testmod_fentry_test3' [-Wmissing-prototypes] 169 | noinline int bpf_testmod_fentry_test3(char a, int b, u64 c) | ^~~~~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:177:1: warning: no previous prototype for 'bpf_testmod_test_read' [-Wmissing-prototypes] 177 | bpf_testmod_test_read(struct file *file, struct kobject *kobj, | ^~~~~~~~~~~~~~~~~~~~~ tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:228:1: warning: no previous prototype for 'bpf_testmod_test_write' [-Wmissing-prototypes] 228 | bpf_testmod_test_write(struct file *file, struct kobject *kobj, | ^~~~~~~~~~~~~~~~~~~~~~ >> tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:271:14: warning: no previous prototype for 'bpf_fentry_shadow_test' [-Wmissing-prototypes] 271 | noinline int bpf_fentry_shadow_test(int a) | ^~~~~~~~~~~~~~~~~~~~~~ vim +/bpf_fentry_shadow_test +271 tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c 270 > 271 noinline int bpf_fentry_shadow_test(int a) 272 { 273 return a + 2; 274 } 275 EXPORT_SYMBOL_GPL(bpf_fentry_shadow_test); 276 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests