All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 2551/10701] arch/x86/mm/init.c:79:22: warning: no previous prototype for 'pgprot2cachemode'
@ 2020-05-20  3:07 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-20  3:07 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   fb57b1fabcb28f358901b2df90abd2b48abc1ca8
commit: 7fa3e10f0f3646108a1018004d0f571c3222dc9f [2551/10701] x86/mm: Move pgprot2cachemode out of line
config: i386-randconfig-r015-20200519 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 7fa3e10f0f3646108a1018004d0f571c3222dc9f
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/mm/init.c:74:6: warning: no previous prototype for 'x86_has_pat_wp' [-Wmissing-prototypes]
bool x86_has_pat_wp(void)
^~~~~~~~~~~~~~
>> arch/x86/mm/init.c:79:22: warning: no previous prototype for 'pgprot2cachemode' [-Wmissing-prototypes]
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
^~~~~~~~~~~~~~~~
arch/x86/mm/init.c:484:21: warning: no previous prototype for 'init_memory_mapping' [-Wmissing-prototypes]
unsigned long __ref init_memory_mapping(unsigned long start,
^~~~~~~~~~~~~~~~~~~
arch/x86/mm/init.c:726:13: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes]
void __init poking_init(void)
^~~~~~~~~~~
arch/x86/mm/init.c:875:13: warning: no previous prototype for 'mem_encrypt_free_decrypted_mem' [-Wmissing-prototypes]
void __weak mem_encrypt_free_decrypted_mem(void) { }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/pgprot2cachemode +79 arch/x86/mm/init.c

    78	
  > 79	enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
    80	{
    81		unsigned long masked;
    82	
    83		masked = pgprot_val(pgprot) & _PAGE_CACHE_MASK;
    84		if (likely(masked == 0))
    85			return 0;
    86		return __pte2cachemode_tbl[__pte2cm_idx(masked)];
    87	}
    88	

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

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

only message in thread, other threads:[~2020-05-20  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20  3:07 [linux-next:master 2551/10701] arch/x86/mm/init.c:79:22: warning: no previous prototype for 'pgprot2cachemode' kbuild 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.