All of lore.kernel.org
 help / color / mirror / Atom feed
* [rppt:pks/v0.0 22/27] arch/x86/mm/pgtable.c:20:12: warning: function '_pks_unprotect' has internal linkage but is not defined
@ 2021-11-07 13:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-07 13:14 UTC (permalink / raw)
  To: Mike Rapoport; +Cc: llvm, kbuild-all, Mike Rapoport, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pks/v0.0
head:   eed09ce6622d550ab5b10a86e7dd6c2ff6bd59d9
commit: 216cf0b8e9541e52432bdee972971826c5e5011d [22/27] x86/pks: unprotect page tables before freeing the memory
config: i386-randconfig-a016-20211104 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 847a6807332b13f43704327c2d30103ec0347c77)
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/rppt/linux.git/commit/?id=216cf0b8e9541e52432bdee972971826c5e5011d
        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 216cf0b8e9541e52432bdee972971826c5e5011d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> arch/x86/mm/pgtable.c:20:12: warning: function '_pks_unprotect' has internal linkage but is not defined [-Wundefined-internal]
   static int _pks_unprotect(struct page *page, unsigned int cnt);
              ^
   arch/x86/mm/pgtable.c:107:3: note: used here
                   _pks_unprotect(pte, 1);
                   ^
   arch/x86/mm/pgtable.c:18:34: warning: unused variable 'gpc_pks' [-Wunused-variable]
   static struct grouped_page_cache gpc_pks;
                                    ^
   2 warnings generated.


vim +/_pks_unprotect +20 arch/x86/mm/pgtable.c

    17	
    18	static struct grouped_page_cache gpc_pks;
    19	static bool pks_page_en;
  > 20	static int _pks_unprotect(struct page *page, unsigned int cnt);
    21	

---
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: 32809 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [rppt:pks/v0.0 22/27] arch/x86/mm/pgtable.c:20:12: warning: function '_pks_unprotect' has internal linkage but is not defined
@ 2021-11-07 13:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-07 13:14 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pks/v0.0
head:   eed09ce6622d550ab5b10a86e7dd6c2ff6bd59d9
commit: 216cf0b8e9541e52432bdee972971826c5e5011d [22/27] x86/pks: unprotect page tables before freeing the memory
config: i386-randconfig-a016-20211104 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 847a6807332b13f43704327c2d30103ec0347c77)
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/rppt/linux.git/commit/?id=216cf0b8e9541e52432bdee972971826c5e5011d
        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 216cf0b8e9541e52432bdee972971826c5e5011d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> arch/x86/mm/pgtable.c:20:12: warning: function '_pks_unprotect' has internal linkage but is not defined [-Wundefined-internal]
   static int _pks_unprotect(struct page *page, unsigned int cnt);
              ^
   arch/x86/mm/pgtable.c:107:3: note: used here
                   _pks_unprotect(pte, 1);
                   ^
   arch/x86/mm/pgtable.c:18:34: warning: unused variable 'gpc_pks' [-Wunused-variable]
   static struct grouped_page_cache gpc_pks;
                                    ^
   2 warnings generated.


vim +/_pks_unprotect +20 arch/x86/mm/pgtable.c

    17	
    18	static struct grouped_page_cache gpc_pks;
    19	static bool pks_page_en;
  > 20	static int _pks_unprotect(struct page *page, unsigned int cnt);
    21	

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-07 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 13:14 [rppt:pks/v0.0 22/27] arch/x86/mm/pgtable.c:20:12: warning: function '_pks_unprotect' has internal linkage but is not defined kernel test robot
2021-11-07 13:14 ` kernel test robot

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.