clang cannot cope with the annotation being in the middle of the variable declaration.
Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Kevin Tian <kevin.t...@intel.com> Cc: Feng Wu <feng...@intel.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> --- xen/drivers/passthrough/vtd/dmar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/drivers/passthrough/vtd/dmar.c b/xen/drivers/passthrough/vtd/dmar.c index 831fe1a..4a6a819 100644 --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -871,8 +871,8 @@ struct user_rmrr { u32 sbdf[MAX_USER_RMRR_DEV]; }; -static __initdata unsigned int nr_rmrr; -static struct __initdata user_rmrr user_rmrrs[MAX_USER_RMRR]; +static unsigned int __initdata nr_rmrr; +static struct user_rmrr __initdata user_rmrrs[MAX_USER_RMRR]; /* Macro for RMRR inclusive range formatting. */ #define ERMRRU_FMT "[%lx-%lx]" -- 2.10.1 (Apple Git-78) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel