Skip to contentSkip to conversation

hyperv: Remove the spurious null directive line

PATCH Applied Roman Kisel 3 participants 3 messages Oct 1, 2025 – Oct 2, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Fixes e68bda71a238 ("hyperv: Add new Hyper-V headers in include/hyperv")
---
 include/hyperv/hvgdk_mini.h | 2 --
 1 file changed, 2 deletions(-)
include/hyperv/hvgdk_mini.h +0 -2
index 1be7f6a02304..77abddfc750e 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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")
---
 include/hyperv/hvgdk_mini.h | 2 --
 1 file changed, 2 deletions(-)
include/hyperv/hvgdk_mini.h +0 -2
index 1be7f6a02304..77abddfc750e 100644
@@ -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

maintainer Applied
#2 lore raw
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")
---
 include/hyperv/hvgdk_mini.h | 2 --
 1 file changed, 2 deletions(-)
include/hyperv/hvgdk_mini.h +0 -2
index 1be7f6a02304..77abddfc750e 100644
@@ -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: e3ec97c3abaf2fb68cc755cae3229288696b9f3d

Applied.