Skip to contentSkip to conversation

reset: sti: reset-syscfg: fix struct description warnings

PATCH Applied Alain Volmat 3 participants 3 messages Aug 31, 2020 – Nov 19, 2020

Subsystems (2)

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: sti: reset-syscfg: fix struct description warnings

Fix formating of struct description to avoid warning highlighted by W=1 compilation.

Fixes e5d76075d930 ("drivers: reset: STi SoC system configuration reset controller support")
---
 drivers/reset/sti/reset-syscfg.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/reset/sti/reset-syscfg.c +4 -3
index 91215bb88f62..99b63035fe72 100644
@@ -17,7 +17,7 @@
 #include "reset-syscfg.h"
 
 /**
- * Reset channel regmap configuration
+ * struct syscfg_reset_channel - Reset channel regmap configuration
  *
  * @reset: regmap field for the channel's reset bit.
  * @ack: regmap field for the channel's ack bit (optional).
@@ -28,8 +28,9 @@ struct syscfg_reset_channel {
 };
 
 /**
- * A reset controller which groups together a set of related reset bits, which
- * may be located in different system configuration registers.
+ * struct syscfg_reset_controller - A reset controller which groups together
+ * a set of related reset bits, which may be located in different system
+ * configuration registers.
  *
  * @rst: base reset controller structure.
  * @active_low: are the resets in this controller active low, i.e. clearing
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

Hi Alain,

Quoted 5 lines · Alain Volmat

Fix formating of struct description to avoid warning highlighted by W=1 compilation.

Fixes e5d76075d930 ("drivers: reset: STi SoC system configuration reset controller support")

Thank you, applied to reset/next.

regards
Philipp

Reviewed-by on v1 1/1
#2 lore raw
In reply to Alain Volmat

Hi Alain

Quoted 24 lines · Alain Volmat

Fix formating of struct description to avoid warning highlighted by W=1 compilation.

Fixes e5d76075d930 ("drivers: reset: STi SoC system configuration reset controller support")
---
 drivers/reset/sti/reset-syscfg.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/reset/sti/reset-syscfg.c +1 -1
index 91215bb88f62..99b63035fe72 100644
@@ -17,7 +17,7 @@
 #include "reset-syscfg.h"
 
 /**
- * Reset channel regmap configuration
+ * struct syscfg_reset_channel - Reset channel regmap configuration
  *
  * @reset: regmap field for the channel's reset bit.
  * @ack: regmap field for the channel's ack bit (optional).
@@ -28,8 +28,9 @@ struct syscfg_reset_channel {
 };

drivers/reset/sti/reset-syscfg.c struct syscfg_reset_channel { · line 36

Quoted 10 lines
drivers/reset/sti/reset-syscfg.c +3 -2
 
 /**
- * A reset controller which groups together a set of related reset bits, which
- * may be located in different system configuration registers.
+ * struct syscfg_reset_controller - A reset controller which groups together
+ * a set of related reset bits, which may be located in different system
+ * configuration registers.
  *
  * @rst: base reset controller structure.
  * @active_low: are the resets in this controller active low, i.e. clearing

Thanks

Patrice