hyperv: Remove the spurious null directive line
Subsystems (2)
PATCH 1/1 hyperv: Remove the spurious null directive line
The file contains a line that consists of the lone # symbol followed by a newline. While that is a valid syntax as defined by the C99+ grammar (6.10.7 "Null directive"), it serves no apparent purpose in this case.
Remove the null preprocessor directive. No functional changes.
--- include/hyperv/hvgdk_mini.h | 2 -- 1 file changed, 2 deletions(-)
include/hyperv/hvgdk_mini.h +0 -2
@@ -597,8 +597,6 @@ struct ms_hyperv_tsc_page { /* HV_REFERENCE_TSC_PAGE */#define HV_SYNIC_SINT_AUTO_EOI (1ULL << 17)#define HV_SYNIC_SINT_VECTOR_MASK (0xFF) -# -/* Hyper-V defined statically assigned SINTs */ #define HV_SYNIC_INTERCEPTION_SINT_INDEX 0x00000000#define HV_SYNIC_IOMMU_FAULT_SINT_INDEX 0x00000001
base-commit: e3ec97c3abaf2fb68cc755cae3229288696b9f3d
Signature · 1 line
2.43.0
Quoted 27 lines · Roman Kisel
The file contains a line that consists of the lone # symbol followed by a newline. While that is a valid syntax as defined by the C99+ grammar (6.10.7 "Null directive"), it serves no apparent purpose in this case.
Remove the null preprocessor directive. No functional changes.
Fixes e68bda71a238 ("hyperv: Add new Hyper-V headers in include/hyperv")Signed-off-by Roman Kisel <[email protected]>--- include/hyperv/hvgdk_mini.h | 2 -- 1 file changed, 2 deletions(-)include/hyperv/hvgdk_mini.h +0
-2@@ -597,8 +597,6 @@ struct ms_hyperv_tsc_page { /* HV_REFERENCE_TSC_PAGE */#define HV_SYNIC_SINT_AUTO_EOI (1ULL << 17)#define HV_SYNIC_SINT_VECTOR_MASK (0xFF) -# -/* Hyper-V defined statically assigned SINTs */ #define HV_SYNIC_INTERCEPTION_SINT_INDEX 0x00000000#define HV_SYNIC_IOMMU_FAULT_SINT_INDEX 0x00000001
Quoted 1 line
base-commit:
e3ec97c3abaf2fb68cc755cae3229288696b9f3d
Quoted 28 lines · Easwar Hariharan
Quoted 27 lines · Roman Kisel
The file contains a line that consists of the lone # symbol followed by a newline. While that is a valid syntax as defined by the C99+ grammar (6.10.7 "Null directive"), it serves no apparent purpose in this case.
Remove the null preprocessor directive. No functional changes.
Fixes e68bda71a238 ("hyperv: Add new Hyper-V headers in include/hyperv")Signed-off-by Roman Kisel <[email protected]>--- include/hyperv/hvgdk_mini.h | 2 -- 1 file changed, 2 deletions(-)include/hyperv/hvgdk_mini.h +0
-2@@ -597,8 +597,6 @@ struct ms_hyperv_tsc_page { /* HV_REFERENCE_TSC_PAGE */#define HV_SYNIC_SINT_AUTO_EOI (1ULL << 17)#define HV_SYNIC_SINT_VECTOR_MASK (0xFF) -# -/* Hyper-V defined statically assigned SINTs */ #define HV_SYNIC_INTERCEPTION_SINT_INDEX 0x00000000#define HV_SYNIC_IOMMU_FAULT_SINT_INDEX 0x00000001
Quoted 3 lines
Quoted 1 line
base-commit:
e3ec97c3abaf2fb68cc755cae3229288696b9f3dReviewed-by Easwar Hariharan <[email protected]>
Applied.