Skip to contentSkip to conversation

fpga: fpga-bridge: removed repeated word

PATCH In review Navin Sankar Velliangiri 3 participants 3 messages May 28, 2021 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: fpga-bridge: removed repeated word

Removed repeated word and.
Reported by checkpatch.

---
 drivers/fpga/fpga-bridge.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/fpga/fpga-bridge.c +2 -2
index e9266b2a357f..9ada1126faf7 100644
@@ -228,7 +228,7 @@ EXPORT_SYMBOL_GPL(fpga_bridges_put);
  * @info: fpga image specific information
  * @bridge_list: list of FPGA bridges
  *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.
  *
  * Return 0 for success, error code from of_fpga_bridge_get() othewise.
  */
@@ -258,7 +258,7 @@ EXPORT_SYMBOL_GPL(of_fpga_bridge_get_to_list);
  * @info: fpga image specific information
  * @bridge_list: list of FPGA bridges
  *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.
  *
  * Return 0 for success, error code from fpga_bridge_get() othewise.
  */
Signature · 1 line
2.31.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Navin Sankar Velliangiri

Removed repeated word and.
Reported by checkpatch.

---
  drivers/fpga/fpga-bridge.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/fpga/fpga-bridge.c +1 -1
index e9266b2a357f..9ada1126faf7 100644
@@ -228,7 +228,7 @@ EXPORT_SYMBOL_GPL(fpga_bridges_put);
   * @info: fpga image specific information
   * @bridge_list: list of FPGA bridges
   *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.
   *
   * Return 0 for success, error code from of_fpga_bridge_get() othewise.
   */

drivers/fpga/fpga-bridge.c EXPORT_SYMBOL_GPL(of_fpga_bridge_get_to_list); · line 261

Quoted 5 lines
drivers/fpga/fpga-bridge.c +1 -1
@@ -258,7 +258,7 @@ EXPORT_SYMBOL_GPL(of_fpga_bridge_get_to_list);
   * @info: fpga image specific information
   * @bridge_list: list of FPGA bridges
   *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.

Looks good.

Moritz,

This patch and my spelling cleanup are low risk, can we get these into fpga-next ?

https://lore.kernel.org/linux-fpga/[email protected]/

Tom

Quoted 3 lines
drivers/fpga/fpga-bridge.c +0 -0
   *
   * Return 0 for success, error code from fpga_bridge_get() othewise.
   */
maintainer
#2 lore raw
In reply to Navin Sankar Velliangiri
Quoted 33 lines · Navin Sankar Velliangiri

Removed repeated word and.
Reported by checkpatch.

---
 drivers/fpga/fpga-bridge.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/fpga/fpga-bridge.c +2 -2
index e9266b2a357f..9ada1126faf7 100644
@@ -228,7 +228,7 @@ EXPORT_SYMBOL_GPL(fpga_bridges_put);
  * @info: fpga image specific information
  * @bridge_list: list of FPGA bridges
  *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.
  *
  * Return 0 for success, error code from of_fpga_bridge_get() othewise.
  */
@@ -258,7 +258,7 @@ EXPORT_SYMBOL_GPL(of_fpga_bridge_get_to_list);
  * @info: fpga image specific information
  * @bridge_list: list of FPGA bridges
  *
- * Get an exclusive reference to the bridge and and it to the list.
+ * Get an exclusive reference to the bridge and it to the list.
  *
  * Return 0 for success, error code from fpga_bridge_get() othewise.
  */
Signature · 1 line
2.31.1

Didn't apply on top of Tom's change, so I fixed it up. Queued.

- Moritz