* [PATCH] phy: airoha: use C-style SPDX comment for header file
@ 2026-04-28 19:34 Aditya Dabhade
2026-05-03 17:16 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Aditya Dabhade @ 2026-04-28 19:34 UTC (permalink / raw)
To: Lorenzo Bianconi
Cc: Vinod Koul, Neil Armstrong, linux-arm-kernel, linux-phy,
linux-kernel, 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.
Signed-off-by: Aditya Dabhade <aditya.dabhade066@gmail.com>
---
drivers/phy/phy-airoha-pcie-regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-airoha-pcie-regs.h b/drivers/phy/phy-airoha-pcie-regs.h
index b938a7b468f..58572c79372 100644
--- a/drivers/phy/phy-airoha-pcie-regs.h
+++ b/drivers/phy/phy-airoha-pcie-regs.h
@@ -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 <lorenzo@kernel.org>
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: airoha: use C-style SPDX comment for header file
2026-04-28 19:34 [PATCH] phy: airoha: use C-style SPDX comment for header file Aditya Dabhade
@ 2026-05-03 17:16 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2026-05-03 17:16 UTC (permalink / raw)
To: Lorenzo Bianconi, Aditya Dabhade
Cc: Neil Armstrong, linux-arm-kernel, linux-phy, linux-kernel
On Wed, 29 Apr 2026 01:04:59 +0530, Aditya Dabhade wrote:
> 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,
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-03 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 19:34 [PATCH] phy: airoha: use C-style SPDX comment for header file Aditya Dabhade
2026-05-03 17:16 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox