Skip to contentSkip to conversation

devicetree: replace invalid kernel-doc comment headers

PATCH In review Lukas Bulwahn 3 participants 3 messages Mar 22, 2021 – Mar 24, 2021

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

PATCH 1/1 devicetree: replace invalid kernel-doc comment headers

The opening comment mark '/**' is used for indicating the beginning of kernel-doc comments.

Replace uses of '/**' for invalid cases in dt-binding headers and dts.

---
Rob, please pick this quick kernel-doc cleanup patch.

 arch/arm64/boot/dts/hisilicon/hip05-d02.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip05.dtsi       | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06-d03.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06.dtsi       | 4 ++--
 arch/arm64/boot/dts/hisilicon/hip07-d05.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip07.dtsi       | 2 +-
 include/dt-bindings/reset/hisi,hi6220-resets.h | 2 +-
 include/dt-bindings/reset/snps,hsdk-reset.h    | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/hisilicon/hip05-d02.dts +1 -1
index 369b69b17b91..3d3d52bf41f5 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D02 Development Board
  *
  * Copyright (C) 2014,2015 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip05.dtsi +1 -1
index 4aed8d440b3a..5161e3476531 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D02 Development Board
  *
  * Copyright (C) 2014,2015 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip06-d03.dts +1 -1
index 9f4a930e734d..97aa42a86fd9 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D03 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip06.dtsi +2 -2
index 7deca5f763d5..d86ee1d25ab8 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D03 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
@@ -315,7 +315,7 @@
 		};
 	};
 
-	/**
+	/*
 	 *  HiSilicon erratum 161010801: This describes the limitation
 	 *  of HiSilicon platforms hip06/hip07 to support the SMMUv3
 	 *  mappings for PCIe MSI transactions.
arch/arm64/boot/dts/hisilicon/hip07-d05.dts +1 -1
index 81a2312c8a26..57debca7b1ac 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D05 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip07.dtsi +1 -1
index 2172d8071181..553f7c5209ad 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D05 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
include/dt-bindings/reset/hisi,hi6220-resets.h +1 -1
index 63aff7d8aa45..c67f479eede7 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-/**
+/*
  * This header provides index for the reset controller
  * based on hi6220 SoC.
  */
include/dt-bindings/reset/snps,hsdk-reset.h +1 -1
index e1a643e4bc91..6a331c8d834d 100644
@@ -1,4 +1,4 @@
-/**
+/*
  * This header provides index for the HSDK reset controller.
  */
 #ifndef _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK
Signature · 1 line
2.17.1
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Lukas Bulwahn

The opening comment mark '/**' is used for indicating the beginning of kernel-doc comments.

Replace uses of '/**' for invalid cases in dt-binding headers and dts.

Thanks.

Quoted 110 lines

---
Rob, please pick this quick kernel-doc cleanup patch.

 arch/arm64/boot/dts/hisilicon/hip05-d02.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip05.dtsi       | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06-d03.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06.dtsi       | 4 ++--
 arch/arm64/boot/dts/hisilicon/hip07-d05.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip07.dtsi       | 2 +-
 include/dt-bindings/reset/hisi,hi6220-resets.h | 2 +-
 include/dt-bindings/reset/snps,hsdk-reset.h    | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/hisilicon/hip05-d02.dts +1 -1
index 369b69b17b91..3d3d52bf41f5 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D02 Development Board
  *
  * Copyright (C) 2014,2015 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip05.dtsi +1 -1
index 4aed8d440b3a..5161e3476531 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D02 Development Board
  *
  * Copyright (C) 2014,2015 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip06-d03.dts +1 -1
index 9f4a930e734d..97aa42a86fd9 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D03 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip06.dtsi +2 -2
index 7deca5f763d5..d86ee1d25ab8 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D03 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
@@ -315,7 +315,7 @@
 		};
 	};
 
-	/**
+	/*
 	 *  HiSilicon erratum 161010801: This describes the limitation
 	 *  of HiSilicon platforms hip06/hip07 to support the SMMUv3
 	 *  mappings for PCIe MSI transactions.
arch/arm64/boot/dts/hisilicon/hip07-d05.dts +1 -1
index 81a2312c8a26..57debca7b1ac 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D05 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
arch/arm64/boot/dts/hisilicon/hip07.dtsi +1 -1
index 2172d8071181..553f7c5209ad 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * dts file for Hisilicon D05 Development Board
  *
  * Copyright (C) 2016 Hisilicon Ltd.
include/dt-bindings/reset/hisi,hi6220-resets.h +1 -1
index 63aff7d8aa45..c67f479eede7 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-/**
+/*
  * This header provides index for the reset controller
  * based on hi6220 SoC.
  */
include/dt-bindings/reset/snps,hsdk-reset.h +1 -1
index e1a643e4bc91..6a331c8d834d 100644
@@ -1,4 +1,4 @@
-/**
+/*
  * This header provides index for the HSDK reset controller.
  */
 #ifndef _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK
Signature · 1 line
~Randy
maintainer
#2 lore raw
In reply to Lukas Bulwahn
Quoted 8 lines · Lukas Bulwahn

The opening comment mark '/**' is used for indicating the beginning of kernel-doc comments.

Replace uses of '/**' for invalid cases in dt-binding headers and dts.

---
Rob, please pick this quick kernel-doc cleanup patch.

dts files don't go thru my tree. Please split this into 2 patches.

Quoted 10 lines
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip05.dtsi       | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06-d03.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip06.dtsi       | 4 ++--
 arch/arm64/boot/dts/hisilicon/hip07-d05.dts    | 2 +-
 arch/arm64/boot/dts/hisilicon/hip07.dtsi       | 2 +-
 include/dt-bindings/reset/hisi,hi6220-resets.h | 2 +-
 include/dt-bindings/reset/snps,hsdk-reset.h    | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)