All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-misc:hyperv-vmap 33/49] include/asm-generic/mshyperv.h:257:15: warning: 'hv_is_isolation_supported' used but never defined
@ 2021-08-30 20:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-30 20:23 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.infradead.org/users/hch/misc.git hyperv-vmap
head:   8248f295928aded3364a1e54a4e0022e93d3610c
commit: d651b648d8897d388a1ad469ad36f627d3b09ef7 [33/49] x86/HV: Add new hvcall guest address host visibility support
config: x86_64-randconfig-a014-20210830 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add hch-misc git://git.infradead.org/users/hch/misc.git
        git fetch --no-tags hch-misc hyperv-vmap
        git checkout d651b648d8897d388a1ad469ad36f627d3b09ef7
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/cpu/ arch/x86/mm/pat/

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 >>):

   In file included from arch/x86/include/asm/mshyperv.h:217,
                    from arch/x86/mm/pat/set_memory.c:33:
   include/asm-generic/mshyperv.h:257:15: error: type defaults to 'int' in declaration of 'hv_is_isolation_supported' [-Werror=implicit-int]
     257 | static inline hv_is_isolation_supported(void);
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/set_memory.c: In function '__set_memory_enc_dec':
   arch/x86/mm/pat/set_memory.c:2027:10: error: implicit declaration of function 'hv_set_mem_host_visibility' [-Werror=implicit-function-declaration]
    2027 |   return hv_set_mem_host_visibility(addr, numpages, !enc);
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/x86/include/asm/mshyperv.h:217,
                    from arch/x86/mm/pat/set_memory.c:33:
   arch/x86/mm/pat/set_memory.c: At top level:
>> include/asm-generic/mshyperv.h:257:15: warning: 'hv_is_isolation_supported' used but never defined
     257 | static inline hv_is_isolation_supported(void);
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/hv_is_isolation_supported +257 include/asm-generic/mshyperv.h

   244	
   245	void hyperv_report_panic(struct pt_regs *regs, long err, bool in_die);
   246	bool hv_is_hyperv_initialized(void);
   247	bool hv_is_hibernation_supported(void);
   248	enum hv_isolation_type hv_get_isolation_type(void);
   249	bool hv_is_isolation_supported(void);
   250	bool hv_isolation_type_snp(void);
   251	void hyperv_cleanup(void);
   252	bool hv_query_ext_cap(u64 cap_query);
   253	#else /* CONFIG_HYPERV */
   254	static inline bool hv_is_hyperv_initialized(void) { return false; }
   255	static inline bool hv_is_hibernation_supported(void) { return false; }
   256	static inline void hyperv_cleanup(void) {}
 > 257	static inline hv_is_isolation_supported(void);
   258	#endif /* CONFIG_HYPERV */
   259	

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

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

only message in thread, other threads:[~2021-08-30 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 20:23 [hch-misc:hyperv-vmap 33/49] include/asm-generic/mshyperv.h:257:15: warning: 'hv_is_isolation_supported' used but never defined 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.