All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [intel-lts:6.6/dovetail-xenomai 11278/13313] arch/x86/include/asm/idtentry.h:490:49: error: '__sysvec_xen_hvm_callback' undeclared; did you mean 'sysvec_xen_hvm_callback'?
Date: Tue, 26 Nov 2024 02:16:34 +0800	[thread overview]
Message-ID: <202411260244.2CB28wmw-lkp@intel.com> (raw)

Hi Florian,

FYI, the error/warning still remains.

tree:   https://github.com/intel/linux-intel-lts.git 6.6/dovetail-xenomai
head:   8025dd14d72f1eee946ab67036c7a3a569861654
commit: 0a2bddb4a08e2bc9f2ba04a7b7acd99668d52a37 [11278/13313] x86: dovetail: Allow multiple HV guest extensions to be enabled
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241126/202411260244.2CB28wmw-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241126/202411260244.2CB28wmw-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411260244.2CB28wmw-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/xen/events/events_base.c:45:
   arch/x86/include/asm/idtentry.h:269:20: error: function declaration isn't a prototype [-Werror=strict-prototypes]
     269 | static inline void pipeline_install_sysvec(vector, function) {}
         |                    ^~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/idtentry.h: In function 'pipeline_install_sysvec':
   arch/x86/include/asm/idtentry.h:269:20: warning: old-style function definition [-Wold-style-definition]
   arch/x86/include/asm/idtentry.h:269:20: error: type of 'vector' defaults to 'int' [-Werror=implicit-int]
   arch/x86/include/asm/idtentry.h:269:20: error: type of 'function' defaults to 'int' [-Werror=implicit-int]
   drivers/xen/events/events_base.c: In function 'xen_alloc_callback_vector':
>> arch/x86/include/asm/idtentry.h:490:49: error: '__sysvec_xen_hvm_callback' undeclared (first use in this function); did you mean 'sysvec_xen_hvm_callback'?
     490 |                 pipeline_install_sysvec(vector, __##function); \
         |                                                 ^~
   drivers/xen/events/events_base.c:2238:9: note: in expansion of macro 'sysvec_install'
    2238 |         sysvec_install(HYPERVISOR_CALLBACK_VECTOR, sysvec_xen_hvm_callback);
         |         ^~~~~~~~~~~~~~
   arch/x86/include/asm/idtentry.h:490:49: note: each undeclared identifier is reported only once for each function it appears in
     490 |                 pipeline_install_sysvec(vector, __##function); \
         |                                                 ^~
   drivers/xen/events/events_base.c:2238:9: note: in expansion of macro 'sysvec_install'
    2238 |         sysvec_install(HYPERVISOR_CALLBACK_VECTOR, sysvec_xen_hvm_callback);
         |         ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +490 arch/x86/include/asm/idtentry.h

   487	
   488	#define sysvec_install(vector, function)                       \
   489		{                                                      \
 > 490			pipeline_install_sysvec(vector, __##function); \
   491			alloc_intr_gate(vector, asm_##function);       \
   492		}
   493	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2024-11-25 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25 18:16 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 10:54 [intel-lts:6.6/dovetail-xenomai 11278/13313] arch/x86/include/asm/idtentry.h:490:49: error: '__sysvec_xen_hvm_callback' undeclared; did you mean 'sysvec_xen_hvm_callback'? kernel test robot

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=202411260244.2CB28wmw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.