[PATCH] drivers: staging: qlge: Fixed an alignment issue.

Subsystems: staging subsystem, the rest

STALE1965d

2 messages, 2 authors, 2021-03-17 · open the first message on its own page

[PATCH] drivers: staging: qlge: Fixed an alignment issue.

From: Anish Udupa <hidden>
Date: 2021-03-16 15:58:01

The * of the comment was not aligned properly. Ran checkpatch and
found the warning. Resolved it in this patch.

Signed-off-by: Anish Udupa <redacted>
---
 drivers/staging/qlge/qlge_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c
index 5516be3af898..bfd7217f3953 100644
--- a/drivers/staging/qlge/qlge_main.c
+++ b/drivers/staging/qlge/qlge_main.c
@@ -3816,7 +3816,7 @@ static int qlge_adapter_down(struct qlge_adapter *qdev)
  qlge_tx_ring_clean(qdev);

  /* Call netif_napi_del() from common point.
- */
+ */
  for (i = 0; i < qdev->rss_ring_count; i++)
  netif_napi_del(&qdev->rx_ring[i].napi);
-- 
2.17.1

Re: [PATCH] drivers: staging: qlge: Fixed an alignment issue.

From: Dan Carpenter <hidden>
Date: 2021-03-17 08:26:28

On Tue, Mar 16, 2021 at 09:26:34PM +0530, Anish Udupa wrote:
quoted hunk
The * of the comment was not aligned properly. Ran checkpatch and
found the warning. Resolved it in this patch.

Signed-off-by: Anish Udupa <redacted>
---
 drivers/staging/qlge/qlge_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c
index 5516be3af898..bfd7217f3953 100644
--- a/drivers/staging/qlge/qlge_main.c
+++ b/drivers/staging/qlge/qlge_main.c
@@ -3816,7 +3816,7 @@ static int qlge_adapter_down(struct qlge_adapter *qdev)
  qlge_tx_ring_clean(qdev);

  /* Call netif_napi_del() from common point.
- */
+ */
This has already been fixed upstream.  You should be working against
linux-next or staging-next.

https://lore.kernel.org/driverdev-devel/20210216101945.187474-1-ducheng2@gmail.com/

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help