Skip to contentSkip to conversation

soc: qcom: cmd-db: use C-style SPDX comment for source file

PATCH Applied Mayur Kumar 3 participants 3 messages May 10 – Jul 5

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

PATCH 1/1 soc: qcom: cmd-db: use C-style SPDX comment for source file

checkpatch.pl reports an improper SPDX comment style for this file:

WARNING: Improper SPDX comment style for 'drivers/soc/qcom/cmd-db.c', please use '//' instead

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

---
 drivers/soc/qcom/cmd-db.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/cmd-db.c +1 -1
index 84a75d8c4b7..3f1eee78438 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved.
  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Mayur Kumar

checkpatch.pl reports an improper SPDX comment style for this file:

WARNING: Improper SPDX comment style for 'drivers/soc/qcom/cmd-db.c', please use '//' instead

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

Thanks
Sneh

maintainer Applied
#2 lore raw
In reply to Mayur Kumar
Quoted 10 lines · Mayur Kumar

checkpatch.pl reports an improper SPDX comment style for this file:

WARNING: Improper SPDX comment style for 'drivers/soc/qcom/cmd-db.c', please use '//' instead

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

[...]

Applied, thanks!

[1/1] soc: qcom: cmd-db: use C-style SPDX comment for source file

      commit: 90388101052ec56d24323e35c87ff594abe28e29

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>