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 D587AC433EF for ; Tue, 10 May 2022 22:47:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 61FB96B0071; Tue, 10 May 2022 18:47:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5CEF46B0072; Tue, 10 May 2022 18:47:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 496516B0073; Tue, 10 May 2022 18:47:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 39B406B0071 for ; Tue, 10 May 2022 18:47:57 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 0C57421CEC for ; Tue, 10 May 2022 22:47:57 +0000 (UTC) X-FDA: 79451322594.05.38CF621 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf27.hostedemail.com (Postfix) with ESMTP id BC3E94009B for ; Tue, 10 May 2022 22:47:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652222873; x=1683758873; h=date:from:to:cc:subject:message-id:mime-version; bh=oCorWBDZgyr85ZjU4xVV0U2n3wx9Gdw1/P9F/jPxx84=; b=H22meNOJzhoBgMJHEZGQqQdI5Jj78GrA+7lwBnKvDH3/SBP+jDHi1PTK eEZzSaS0WUgMyXS7VYKJZZGqUUC5dvYkg2yJj3IBaH8AEiBMME6PpmPDj TXb1l3JcNwrcR3d71EIB4U17Y9wHPftuUeU8av9ii5GMmg7H22dTgFf/2 x2h2uKVpDTalGS4FM9/9BFUPtiVG/J3Crl5N7KSubOEqAzZZuoiU18v7J YltvV0mpRF044GUr/YVo8nvK+xZO/3gr6tT41870Ijof4S3K2x3pWp1f8 +A6Eg9TiFlhdvGQe0UusYQ9WsZR1u0KoFCmwL7vyG8Z4/dNvxNX98jmby A==; X-IronPort-AV: E=McAfee;i="6400,9594,10343"; a="268364107" X-IronPort-AV: E=Sophos;i="5.91,215,1647327600"; d="scan'208";a="268364107" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2022 15:47:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,215,1647327600"; d="scan'208";a="602681924" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 10 May 2022 15:47:49 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1noYdx-000ISQ-1e; Tue, 10 May 2022 22:47:49 +0000 Date: Wed, 11 May 2022 06:47:29 +0800 From: kernel test robot To: Andrii Nakryiko Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Daniel Borkmann Subject: [linux-next:master 10107/10661] libbpf.c:4954:8: error: variable 'i' set but not used Message-ID: <202205110646.qxnrqHzi-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: BC3E94009B X-Stat-Signature: 5m46tdm6p55qepr9j8yu1ta3pu7tpk57 X-Rspam-User: Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=H22meNOJ; spf=none (imf27.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1652222870-347555 X-Bogosity: Ham, tests=bogofilter, spamicity=0.001629, 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: 3bf222d317a20170ee17f082626c1e0f83537e13 commit: 0087a681fa8c22f719a567317e8f8f894d734b9c [10107/10661] libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary config: hexagon-randconfig-r036-20220510 (https://download.01.org/0day-ci/archive/20220511/202205110646.qxnrqHzi-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f) reproduce (this is a W=1 build): 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/next/linux-next.git/commit/?id=0087a681fa8c22f719a567317e8f8f894d734b9c 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 0087a681fa8c22f719a567317e8f8f894d734b9c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples >> libbpf.c:4954:8: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable] __u32 i, mul; ^ 1 error generated. make[5]: *** [tools/build/Makefile.build:96: tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:157: tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf-in.o] Error 2 make[3]: *** [Makefile:55: tools/bpf/resolve_btfids//libbpf/libbpf.a] Error 2 make[2]: *** [Makefile:72: bpf/resolve_btfids] Error 2 make[1]: *** [Makefile:1337: tools/bpf/resolve_btfids] Error 2 :1517:2: warning: syscall clone3 not implemented [-W#warnings] #warning syscall clone3 not implemented ^ 1 warning generated. make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. -- 0-DAY CI Kernel Test Service https://01.org/lkp