mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rick Edgecombe <rick.p.edgecombe@intel.com>
Cc: kbuild-all@lists.01.org, Mike Rapoport <rppt@kernel.org>,
	linux-kernel@vger.kernel.org, Mike Rapoport <rppt@linux.ibm.com>
Subject: [rppt:pks/v0.0 15/27] arch/x86/mm/pgtable.c:17:34: error: 'gpc_pks' defined but not used
Date: Sat, 6 Nov 2021 00:05:07 +0800	[thread overview]
Message-ID: <202111060000.g5tEJQfq-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pks/v0.0
head:   eed09ce6622d550ab5b10a86e7dd6c2ff6bd59d9
commit: 42999ce092b58fa8310c49a262c00700e947ac40 [15/27] x86, mm: Use cache of page tables
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git/commit/?id=42999ce092b58fa8310c49a262c00700e947ac40
        git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
        git fetch --no-tags rppt pks/v0.0
        git checkout 42999ce092b58fa8310c49a262c00700e947ac40
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/mm/pgtable.c:17:34: error: 'gpc_pks' defined but not used [-Werror=unused-variable]
      17 | static struct grouped_page_cache gpc_pks;
         |                                  ^~~~~~~
   cc1: all warnings being treated as errors


vim +/gpc_pks +17 arch/x86/mm/pgtable.c

    16	
  > 17	static struct grouped_page_cache gpc_pks;
    18	static bool pks_page_en;
    19	#ifdef CONFIG_HIGHPTE
    20	#define PGTABLE_HIGHMEM __GFP_HIGHMEM
    21	#else
    22	#define PGTABLE_HIGHMEM 0
    23	#endif
    24	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66033 bytes --]

                 reply	other threads:[~2021-11-05 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202111060000.g5tEJQfq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rick.p.edgecombe@intel.com \
    --cc=rppt@kernel.org \
    --cc=rppt@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®