From: kernel test robot <lkp@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@linux.intel.com>
Subject: [intel-tdx:guest-filter-upstream 23/31] arch/x86/coco/tdx/filter.c:21:13: warning: 'filter_overridden' defined but not used
Date: Tue, 7 Feb 2023 19:17:27 +0800 [thread overview]
Message-ID: <202302071948.kY6SLiNq-lkp@intel.com> (raw)
tree: https://github.com/intel/tdx.git guest-filter-upstream
head: fd61f2d2a82f5c0c284fa3f074bae5016c39e7bc
commit: 4f14697c74172d5614c9ee8f1d5a6c55dd9fdbbf [23/31] x86/tdx: Add a command line option to add new ACPI tables to the filter
config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20230207/202302071948.kY6SLiNq-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/4f14697c74172d5614c9ee8f1d5a6c55dd9fdbbf
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-filter-upstream
git checkout 4f14697c74172d5614c9ee8f1d5a6c55dd9fdbbf
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/tdx/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/coco/tdx/filter.c:21:13: warning: 'filter_overridden' defined but not used [-Wunused-variable]
21 | static bool filter_overridden;
| ^~~~~~~~~~~~~~~~~
vim +/filter_overridden +21 arch/x86/coco/tdx/filter.c
19
20 /* Set true if authorize_allow_devs is used */
> 21 static bool filter_overridden;
22
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next reply other threads:[~2023-02-07 11:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 11:17 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-06 5:37 [intel-tdx:guest-filter-upstream 23/31] arch/x86/coco/tdx/filter.c:21:13: warning: 'filter_overridden' defined but not used kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202302071948.kY6SLiNq-lkp@intel.com \
--to=lkp@intel.com \
--cc=ak@linux.intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.