2018-01-25 13:00:31

by Rohit Visavalia

[permalink] [raw]
Subject: [PATCH] be2net: networking block comments don't use an empty /* line

Resolved Warning: networking block comments don't use an empty /* line,
use /* Comment...
Issue found by checkpatch.

Signed-off-by: Rohit Visavalia <[email protected]>
---
drivers/net/ethernet/emulex/benet/be_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index e180657a02ef..c36c81959198 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -4634,8 +4634,7 @@ int be_update_queues(struct be_adapter *adapter)

be_schedule_worker(adapter);

- /*
- * The IF was destroyed and re-created. We need to clear
+ /* The IF was destroyed and re-created. We need to clear
* all promiscuous flags valid for the destroyed IF.
* Without this promisc mode is not restored during
* be_open() because the driver thinks that it is
--
2.16.1



2018-01-25 21:35:59

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] be2net: networking block comments don't use an empty /* line

From: Rohit Visavalia <[email protected]>
Date: Thu, 25 Jan 2018 18:28:24 +0530

> Resolved Warning: networking block comments don't use an empty /* line,
> use /* Comment...
> Issue found by checkpatch.
>
> Signed-off-by: Rohit Visavalia <[email protected]>

Applied to net-next.