Skip to contentSkip to conversation

coresight: etm3x: add a kernel-doc "blank line"

PATCH In review Randy Dunlap 2 participants 2 messages Jan 15, 2024

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

PATCH 1/1 coresight: etm3x: add a kernel-doc "blank line"

Change an empty line inside of kernel-doc to a " *" (kernel-doc blank line) to prevent a kernel-doc warning:

drivers/hwtracing/coresight/coresight-etm3x-core.c:118: warning: bad line:

Cc Pratik Patel <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Mike Leach <[email protected]>
Cc James Clark <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
 drivers/hwtracing/coresight/coresight-etm3x-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwtracing/coresight/coresight-etm3x-core.c +1 -1
diff -- a/drivers/hwtracing/coresight/coresight-etm3x-core.c b/drivers/hwtracing/coresight/coresight-etm3x-core.c
@@ -115,7 +115,7 @@ static void etm_clr_pwrup(struct etm_drv
  *
  * Basically the same as @coresight_timeout except for the register access
  * method where we have to account for CP14 configurations.
-
+ *
  * Return: 0 as soon as the bit has taken the desired state or -EAGAIN if
  * TIMEOUT_US has elapsed, which ever happens first.
  */
#1 lore raw
Quoted 22 lines · Randy Dunlap

Change an empty line inside of kernel-doc to a " *" (kernel-doc blank line) to prevent a kernel-doc warning:

drivers/hwtracing/coresight/coresight-etm3x-core.c:118: warning: bad line:

Cc Pratik Patel <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Mike Leach <[email protected]>
Cc James Clark <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
 drivers/hwtracing/coresight/coresight-etm3x-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/hwtracing/coresight/coresight-etm3x-core.c b/drivers/hwtracing/coresight/coresight-etm3x-core.c

drivers/hwtracing/coresight/coresight-etm3x-core.c static void etm_clr_pwrup(struct etm_drv · line 121

Quoted 8 lines
drivers/hwtracing/coresight/coresight-etm3x-core.c +1 -1
@@ -115,7 +115,7 @@ static void etm_clr_pwrup(struct etm_drv
  *
  * Basically the same as @coresight_timeout except for the register access
  * method where we have to account for CP14 configurations.
-
+ *
  * Return: 0 as soon as the bit has taken the desired state or -EAGAIN if
  * TIMEOUT_US has elapsed, which ever happens first.
  */

Duplicate of
https://lore.kernel.org/linux-arm-kernel/[email protected]/
which should appear in coresight-next soon. But either way, thanks for the fix.

James