xen: arm: Drop trailing ; from DEFINE_XEN_GUEST_HANDLE
PATCH 1/1 xen: arm: Drop trailing ; from DEFINE_XEN_GUEST_HANDLE
This is always present at the point of use, which with -pedantic provokes:
error: ISO C does not allow extra ';' outside of a function [-Werror=edantic]
--- xen/include/public/arch-arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/public/arch-arm.h +1 -1
@@ -173,7 +173,7 @@ typedef union { type *p; unsigned long q; } \ __guest_handle_ ## name; \ typedef union { type *p; uint64_aligned_t q; } \ - __guest_handle_64_ ## name; + __guest_handle_64_ ## name/* * XEN_GUEST_HANDLE represents a guest pointer, when passed as a field
Signature · 1 line
2.1.4
Quoted 6 lines · Ian Campbell
This is always present at the point of use, which with -pedantic provokes:
error: ISO C does not allow extra ';' outside of a function [-Werror=edantic]
Signed-off-by Ian Campbell <[email protected]>
Quoted 16 lines
xen/include/public/arch-arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/include/public/arch-arm.h +1
-1@@ -173,7 +173,7 @@ typedef union { type *p; unsigned long q; } \ __guest_handle_ ## name; \ typedef union { type *p; uint64_aligned_t q; } \ - __guest_handle_64_ ## name; + __guest_handle_64_ ## name/* * XEN_GUEST_HANDLE represents a guest pointer, when passed as a field
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 14.12.15 at 17:21, <[email protected]> wrote:
This is always present at the point of use, which with -pedantic provokes:
error: ISO C does not allow extra ';' outside of a function [-Werror=edantic]
Signed-off-by Ian Campbell <[email protected]>
FWIW Acked-by: Jan Beulich <[email protected]>
Ian Campbell
AppliedQuoted 10 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 14.12.15 at 17:21, <[email protected]> wrote:
This is always present at the point of use, which with -pedantic provokes:
error: ISO C does not allow extra ';' outside of a function [- Werror=edantic]
Signed-off-by Ian Campbell <[email protected]>FWIW Acked-by: Jan Beulich <[email protected]>
Thanks, applied.