diff mbox series

drivers: staging: qlge: Fixed an alignment issue.

Message ID CAPDGunMo-ORwDme4ckui5kxxW6-Ho1J_MjcTkxdDdKLMDrCFdg@mail.gmail.com (mailing list archive)
State Not Applicable
Headers show
Series drivers: staging: qlge: Fixed an alignment issue. | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Anish Udupa March 16, 2021, 3:56 p.m. UTC
The * of the comment was not aligned properly. Ran checkpatch and
found the warning. Resolved it in this patch.

Signed-off-by: Anish Udupa <udupa.anish@gmail.com>
---
 drivers/staging/qlge/qlge_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dan Carpenter March 17, 2021, 8:25 a.m. UTC | #1
On Tue, Mar 16, 2021 at 09:26:34PM +0530, Anish Udupa wrote:
> The * of the comment was not aligned properly. Ran checkpatch and
> found the warning. Resolved it in this patch.
> 
> Signed-off-by: Anish Udupa <udupa.anish@gmail.com>
> ---
>  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
diff mbox series

Patch

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);