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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08807C77B72 for ; Fri, 14 Apr 2023 11:18:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbjDNLSe (ORCPT ); Fri, 14 Apr 2023 07:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjDNLSc (ORCPT ); Fri, 14 Apr 2023 07:18:32 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 099B13A88; Fri, 14 Apr 2023 04:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681471111; x=1713007111; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=s2ahMarainzU0kJG0iKnmW59QKgo1hk/9wbUQKqrvKs=; b=U2exyNn2jGQujboydX/El/nMt8LKjS2NuHxqLuM17w37P9SJAvKhoOFC TtbgPtapjumBMZzBz3YQ2SlBReIRU4R+KAe/xeDiPLYJN0j7j5oK2duaZ Cr8KZ+LMHfVDlqRAOgiZ8n2UJYZl8P95J5h8QGliMQ4UNg0vYnqAyOhdL XZyqdKdKqLShfrciBPzrmhm2AAfBzLDnxANHp0lJdrZFw5Y5DNZAZFU5l vA8AqfBUZa8WMt+gKTJIERKMKqMuxL8RucGLt72fBNu5JhD5t5iMj0+lO aDbdrDKDIPGndilYaQX5MVas2fSnanop24BmOTJ3x//3FQ5CgN6ku+jMN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="409640701" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="409640701" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2023 04:18:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="754422074" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="754422074" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 14 Apr 2023 04:18:27 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pnHRi-000ZTZ-1X; Fri, 14 Apr 2023 11:18:26 +0000 Date: Fri, 14 Apr 2023 19:17:46 +0800 From: kernel test robot To: "songrui.771" , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann Cc: oe-kbuild-all@lists.linux.dev, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, "songrui.771" Subject: Re: [PATCH v2] libbpf: correct the macro KERNEL_VERSION for old kernel Message-ID: <202304141932.JnvYvgv5-lkp@intel.com> References: <20230414084353.36545-1-songrui.771@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230414084353.36545-1-songrui.771@bytedance.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi songrui.771, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] [also build test WARNING on bpf/master linus/master v6.3-rc6 next-20230413] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/songrui-771/libbpf-correct-the-macro-KERNEL_VERSION-for-old-kernel/20230414-164547 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20230414084353.36545-1-songrui.771%40bytedance.com patch subject: [PATCH v2] libbpf: correct the macro KERNEL_VERSION for old kernel reproduce: make versioncheck If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304141932.JnvYvgv5-lkp@intel.com/ versioncheck warnings: (new ones prefixed by >>) INFO PATH=/opt/cross/clang/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/bin/timeout -k 100 3h /usr/bin/make W=1 --keep-going HOSTCC=gcc-11 CC=gcc-11 -j32 ARCH=x86_64 versioncheck find ./* \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o \ -name '*.[hcS]' -type f -print | sort \ | xargs perl -w ./scripts/checkversion.pl ./drivers/accessibility/speakup/genmap.c: 13 linux/version.h not needed. ./drivers/accessibility/speakup/makemapdata.c: 13 linux/version.h not needed. ./drivers/soc/tegra/cbb/tegra-cbb.c: 19 linux/version.h not needed. ./drivers/soc/tegra/cbb/tegra194-cbb.c: 26 linux/version.h not needed. ./drivers/soc/tegra/cbb/tegra234-cbb.c: 27 linux/version.h not needed. ./drivers/staging/media/atomisp/include/linux/atomisp.h: 23 linux/version.h not needed. ./samples/trace_events/trace_custom_sched.c: 11 linux/version.h not needed. ./sound/soc/codecs/cs42l42.c: 14 linux/version.h not needed. ./tools/lib/bpf/bpf_helpers.h: 294: need linux/version.h >> ./tools/lib/bpf/libbpf_probes.c: 15 linux/version.h not needed. ./tools/perf/tests/bpf-script-example.c: 60: need linux/version.h ./tools/perf/tests/bpf-script-test-kbuild.c: 21: need linux/version.h ./tools/perf/tests/bpf-script-test-prologue.c: 49: need linux/version.h ./tools/perf/tests/bpf-script-test-relocation.c: 51: need linux/version.h ./tools/testing/selftests/bpf/progs/dev_cgroup.c: 9 linux/version.h not needed. ./tools/testing/selftests/bpf/progs/netcnt_prog.c: 3 linux/version.h not needed. ./tools/testing/selftests/bpf/progs/test_map_lock.c: 4 linux/version.h not needed. ./tools/testing/selftests/bpf/progs/test_send_signal_kern.c: 4 linux/version.h not needed. ./tools/testing/selftests/bpf/progs/test_spin_lock.c: 4 linux/version.h not needed. ./tools/testing/selftests/bpf/progs/test_tcp_estats.c: 37 linux/version.h not needed. ./tools/testing/selftests/wireguard/qemu/init.c: 27 linux/version.h not needed. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests