public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: wilc1000: Fix code block alignment
@ 2018-03-12 13:00 hariprasath.elango
  2018-03-13  7:39 ` Ajay Singh
  0 siblings, 1 reply; 2+ messages in thread
From: hariprasath.elango @ 2018-03-12 13:00 UTC (permalink / raw)
  To: aditya.shankar
  Cc: devel, Greg Kroah-Hartman, linux-wireless, linux-kernel,
	hariprasath.elango, Ganesh Krishna

From: HariPrasath Elango <hariprasath.elango@gmail.com>

Fix the code alignment for a block of code to adhere to coding
guidelines

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
---
 drivers/staging/wilc1000/linux_wlan.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index fe19bf3..1af3c14 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -861,10 +861,10 @@ static int wilc_mac_open(struct net_device *ndev)
 			break;
 		}
 	}
-			wilc_get_mac_address(vif, mac_add);
-			netdev_dbg(ndev, "Mac address: %pM\n", mac_add);
-			memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN);
 
+	wilc_get_mac_address(vif, mac_add);
+	netdev_dbg(ndev, "Mac address: %pM\n", mac_add);
+	memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN);
 	memcpy(ndev->dev_addr, wl->vif[i]->src_addr, ETH_ALEN);
 
 	if (!is_valid_ether_addr(ndev->dev_addr)) {
-- 
2.10.0.GIT

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: wilc1000: Fix code block alignment
  2018-03-12 13:00 [PATCH] staging: wilc1000: Fix code block alignment hariprasath.elango
@ 2018-03-13  7:39 ` Ajay Singh
  0 siblings, 0 replies; 2+ messages in thread
From: Ajay Singh @ 2018-03-13  7:39 UTC (permalink / raw)
  To: hariprasath.elango, linux-kernel
  Cc: aditya.shankar, Ganesh Krishna, Greg Kroah-Hartman,
	linux-wireless, devel

On Mon, 12 Mar 2018 18:30:44 +0530
<hariprasath.elango@gmail.com> wrote:

> From: HariPrasath Elango <hariprasath.elango@gmail.com>
> 
> Fix the code alignment for a block of code to adhere to coding
> guidelines
> 
> Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>

Reviewed-by: Ajay Singh <ajay.kathat@microchip.com>

Regards,
Ajay

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-13  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12 13:00 [PATCH] staging: wilc1000: Fix code block alignment hariprasath.elango
2018-03-13  7:39 ` Ajay Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox