linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] staging: wilc1000: handle_set_mac_address: fix missing blank line after declaration
@ 2016-02-23  6:37 Chaehyun Lim
  2016-02-23  6:37 ` [PATCH 2/7] staging: wilc1000: handle_cfg_param: remove wrapper struct cfg_param_attr Chaehyun Lim
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chaehyun Lim @ 2016-02-23  6:37 UTC (permalink / raw)
  To: gregkh
  Cc: johnny.kim, austin.shin, chris.park, tony.cho, glen.lee, leo.kim,
	linux-wireless, devel, Chaehyun Lim

commit 31cc9885e7c7 ("staging: wilc1000: handle_set_mac_address: use kmemdup")
introduces a new checkpatch warning, so this patch fixes it.

WARNING: Missing a blank line after declarations
FILE: drivers/staging/wilc1000/host_interface.c:430:

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 0c09df4..e442d81 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -429,8 +429,9 @@ static void handle_set_mac_address(struct wilc_vif *vif,
 {
 	int ret = 0;
 	struct wid wid;
+	u8 *mac_buf;
 
-	u8 *mac_buf = kmemdup(set_mac_addr->mac_addr, ETH_ALEN, GFP_KERNEL);
+	mac_buf = kmemdup(set_mac_addr->mac_addr, ETH_ALEN, GFP_KERNEL);
 	if (!mac_buf)
 		return;
 
-- 
2.7.1


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

end of thread, other threads:[~2016-02-23  6:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23  6:37 [PATCH 1/7] staging: wilc1000: handle_set_mac_address: fix missing blank line after declaration Chaehyun Lim
2016-02-23  6:37 ` [PATCH 2/7] staging: wilc1000: handle_cfg_param: remove wrapper struct cfg_param_attr Chaehyun Lim
2016-02-23  6:37 ` [PATCH 3/7] staging: wilc1000: handle_cfg_param: change data type of wid_cnt Chaehyun Lim
2016-02-23  6:38 ` [PATCH 4/7] staging: wilc1000: handle_cfg_param: rename wid_cnt Chaehyun Lim
2016-02-23  6:38 ` [PATCH 5/7] staging: wilc1000: handle_cfg_param: fix logical continuations Chaehyun Lim
2016-02-23  6:38 ` [PATCH 6/7] staging: wilc1000: handle_cfg_param: fix line over 80 characters Chaehyun Lim
2016-02-23  6:38 ` [PATCH 7/7] staging: wilc1000: handle_cfg_param: remove unnecessary whitespace Chaehyun Lim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).