Skip to contentSkip to conversation

m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"

PATCH In review [email protected] 2 participants 2 messages Jul 13, 2023 – Jul 19, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"

Fix one occurrences of the checkpatch.pl error:
ERROR: "foo __init bar" should be "foo __init bar"

---
 arch/m68k/coldfire/dma_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/coldfire/dma_timer.c +1 -1
index cbb289439606..91e6728f51ed 100644
@@ -48,7 +48,7 @@ static struct clocksource clocksource_cf_dt = {
     .flags        = CLOCK_SOURCE_IS_CONTINUOUS,
 };
 
-static int __init  init_cf_dt_clocksource(void)
+static int __init init_cf_dt_clocksource(void)
 {
     /*
      * We setup DMA timer 0 in free run mode. This incrementing counter 

is

maintainer
#2 lore raw

Hi Xingwei He,

Quoted 4 lines · On 13/7/23 18:39, [email protected] wrote:

Fix one occurrences of the checkpatch.pl error:
ERROR: "foo __init  bar" should be "foo __init bar"

Thanks. Applied to m68knommu git tree, for-next branch.

Regards
Greg

Quoted 17 lines
---
  arch/m68k/coldfire/dma_timer.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/coldfire/dma_timer.c +1 -1
index cbb289439606..91e6728f51ed 100644
@@ -48,7 +48,7 @@ static struct clocksource clocksource_cf_dt = {
      .flags        = CLOCK_SOURCE_IS_CONTINUOUS,
  };
 
-static int __init  init_cf_dt_clocksource(void)
+static int __init init_cf_dt_clocksource(void)
  {
      /*
       * We setup DMA timer 0 in free run mode. This incrementing counter is