oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [intel-tdx:guest-filter-upstream 30/39] arch/x86/coco/tdx/filter.c:21:13: warning: 'filter_overridden' defined but not used
@ 2023-04-11  1:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-11  1:18 UTC (permalink / raw)
  To: Andi Kleen; +Cc: oe-kbuild-all, Kuppuswamy Sathyanarayanan

tree:   https://github.com/intel/tdx.git guest-filter-upstream
head:   359e363de7b2f8863a0cbfb771cceaefb7a80873
commit: a4a44ebfde8563bd89c8f7824cc62e17b992f267 [30/39] x86/tdx: Add a command line option to add new ACPI tables to the filter
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20230411/202304110900.lDFzbPsY-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/a4a44ebfde8563bd89c8f7824cc62e17b992f267
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-filter-upstream
        git checkout a4a44ebfde8563bd89c8f7824cc62e17b992f267
        # 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>
| Link: https://lore.kernel.org/oe-kbuild-all/202304110900.lDFzbPsY-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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-11  1:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11  1:18 [intel-tdx:guest-filter-upstream 30/39] arch/x86/coco/tdx/filter.c:21:13: warning: 'filter_overridden' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).