Skip to contentSkip to conversation

phy: airoha: use C-style SPDX comment for header file

PATCH Applied Aditya Dabhade 2 participants 2 messages Apr 28 – May 3

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

PATCH 1/1 phy: airoha: use C-style SPDX comment for header file

checkpatch reports an improper SPDX comment style for this header:

WARNING: Improper SPDX comment style for 'drivers/phy/phy-airoha-pcie-regs.h', please use '/*' instead

Per Documentation/process/license-rules.rst, C header files must use the '/* SPDX-License-Identifier: ... */' form instead of the '// ....' form used in C source files. Fix it.

---
 drivers/phy/phy-airoha-pcie-regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-airoha-pcie-regs.h +1 -1
index b938a7b468f..58572c79372 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (c) 2024 AIROHA Inc
  * Author: Lorenzo Bianconi <[email protected]>
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Aditya Dabhade

checkpatch reports an improper SPDX comment style for this header:

WARNING: Improper SPDX comment style for 'drivers/phy/phy-airoha-pcie-regs.h', please use '/*' instead

Per Documentation/process/license-rules.rst, C header files must use the '/* SPDX-License-Identifier: ... */' form instead of the '// ....' form used in C source files. Fix it.

[...]

Applied, thanks!

[1/1] phy: airoha: use C-style SPDX comment for header file

      commit: 0bd448b5467b7ead268bc3a946c1deabbda70fe0

Best regards,

Signature · 1 line
~Vinod