linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chaehyun Lim <chaehyun.lim@gmail.com>
To: gregkh@linuxfoundation.org
Cc: johnny.kim@atmel.com, austin.shin@atmel.com,
	chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com,
	leo.kim@atmel.com, linux-wireless@vger.kernel.org,
	devel@driverdev.osuosl.org, Chaehyun Lim <chaehyun.lim@gmail.com>
Subject: [PATCH 11/13] staging: wilc1000: rename pu8MacAddress in wilc_get_mac_address
Date: Tue, 22 Dec 2015 09:49:07 +0900	[thread overview]
Message-ID: <1450745349-16811-11-git-send-email-chaehyun.lim@gmail.com> (raw)
In-Reply-To: <1450745349-16811-1-git-send-email-chaehyun.lim@gmail.com>

This patch changes pu8MacAddress to mac_addr to avoid camelcase.

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

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index affd1e6..613c5a2 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3325,7 +3325,7 @@ int wilc_set_pmkid_info(struct wilc_vif *vif,
 	return result;
 }
 
-int wilc_get_mac_address(struct wilc_vif *vif, u8 *pu8MacAddress)
+int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr)
 {
 	int result = 0;
 	struct host_if_msg msg;
@@ -3333,7 +3333,7 @@ int wilc_get_mac_address(struct wilc_vif *vif, u8 *pu8MacAddress)
 	memset(&msg, 0, sizeof(struct host_if_msg));
 
 	msg.id = HOST_IF_MSG_GET_MAC_ADDRESS;
-	msg.body.get_mac_info.mac_addr = pu8MacAddress;
+	msg.body.get_mac_info.mac_addr = mac_addr;
 	msg.vif = vif;
 
 	result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index 6be4b14..76f90cd 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -323,7 +323,7 @@ int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len,
 		    u8 cipher_mode);
 int wilc_set_pmkid_info(struct wilc_vif *vif,
 			struct host_if_pmkid_attr *pmkid);
-int wilc_get_mac_address(struct wilc_vif *vif, u8 *pu8MacAddress);
+int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr);
 s32 wilc_set_mac_address(struct wilc_vif *vif, u8 *pu8MacAddress);
 int wilc_wait_msg_queue_idle(void);
 s32 wilc_set_join_req(struct wilc_vif *vif, u8 *pu8bssid, const u8 *pu8ssid,
-- 
2.6.4


  parent reply	other threads:[~2015-12-22  0:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  0:48 [PATCH 01/13] staging: wilc1000: fix return type of wilc_add_pkt declaration Chaehyun Lim
2015-12-22  0:48 ` [PATCH 02/13] staging: wilc1000: match argument name of wilc_add_ptk declaration Chaehyun Lim
2015-12-22  0:48 ` [PATCH 03/13] staging: wilc1000: fix return type of wilc_add_rx_gtk declaration Chaehyun Lim
2015-12-22  0:49 ` [PATCH 04/13] staging: wilc1000: match argument name " Chaehyun Lim
2015-12-22  0:49 ` [PATCH 05/13] staging: wilc1000: remove wilc_add_tx_gtk declaration Chaehyun Lim
2015-12-22  0:49 ` [PATCH 06/13] staging: wilc1000: remove wilc_set_start_scan_req declaration Chaehyun Lim
2015-12-22  0:49 ` [PATCH 07/13] staging: wilc1000: fix return type of wilc_set_pmkid_info Chaehyun Lim
2015-12-22  0:49 ` [PATCH 08/13] staging: wilc1000: replace u32 with int Chaehyun Lim
2015-12-22  0:49 ` [PATCH 09/13] staging: wilc1000: rename pu8PmkidInfoArray in wilc_set_pmkid_info Chaehyun Lim
2015-12-22  0:49 ` [PATCH 10/13] staging: wilc1000: fix return type of wilc_get_mac_address Chaehyun Lim
2015-12-22  0:49 ` Chaehyun Lim [this message]
2015-12-22  0:49 ` [PATCH 12/13] staging: wilc1000: fix return type of wilc_set_mac_address Chaehyun Lim
2015-12-22  0:49 ` [PATCH 13/13] staging: wilc1000: rename pu8MacAddress in wilc_set_mac_address Chaehyun Lim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450745349-16811-11-git-send-email-chaehyun.lim@gmail.com \
    --to=chaehyun.lim@gmail.com \
    --cc=austin.shin@atmel.com \
    --cc=chris.park@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=glen.lee@atmel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johnny.kim@atmel.com \
    --cc=leo.kim@atmel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony.cho@atmel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).