linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress
@ 2015-11-02  8:50 Glen Lee
  2015-11-02  8:50 ` [PATCH 02/38] staging: wilc1000: rename firmwareIPAddress " Glen Lee
                   ` (37 more replies)
  0 siblings, 38 replies; 40+ messages in thread
From: Glen Lee @ 2015-11-02  8:50 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-wireless, tony.cho, glen.lee, leo.kim, austin.shin,
	adel.noureldin, adham.abozaeid, Nicolas.FERRE

From: Leo Kim <leo.kim@atmel.com>

This patch renames pu8IPAddr of fuction Handle_set_IPAddress to ip_addr
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
---
 drivers/staging/wilc1000/host_interface.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 2a8330e..4cb491f 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -404,7 +404,7 @@ static s32 Handle_SetOperationMode(struct host_if_drv *hif_drv,
 	return result;
 }
 
-s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx)
+s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *ip_addr, u8 idx)
 {
 	s32 result = 0;
 	struct wid wid;
@@ -413,16 +413,17 @@ s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx)
 
 	dev = hif_drv->priv->dev;
 
-	if (pu8IPAddr[0] < 192)
-		pu8IPAddr[0] = 0;
+	if (ip_addr[0] < 192)
+		ip_addr[0] = 0;
 
-	PRINT_INFO(HOSTINF_DBG, "Indx = %d, Handling set  IP = %pI4\n", idx, pu8IPAddr);
+	PRINT_INFO(HOSTINF_DBG, "Indx = %d, Handling set  IP = %pI4\n",
+		   idx, ip_addr);
 
-	memcpy(set_ip[idx], pu8IPAddr, IP_ALEN);
+	memcpy(set_ip[idx], ip_addr, IP_ALEN);
 
 	wid.id = (u16)WID_IP_ADDRESS;
 	wid.type = WID_STR;
-	wid.val = (u8 *)pu8IPAddr;
+	wid.val = (u8 *)ip_addr;
 	wid.size = IP_ALEN;
 
 	result = send_config_pkt(dev, SET_CFG, &wid, 1,
-- 
1.9.1


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

end of thread, other threads:[~2015-11-04 20:51 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02  8:50 [PATCH 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress Glen Lee
2015-11-02  8:50 ` [PATCH 02/38] staging: wilc1000: rename firmwareIPAddress " Glen Lee
2015-11-02  8:50 ` [PATCH 03/38] staging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress Glen Lee
2015-11-02  8:50 ` [PATCH 04/38] staging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress Glen Lee
2015-11-02  8:50 ` [PATCH 05/38] staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress Glen Lee
2015-11-02  8:50 ` [PATCH 06/38] staging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam Glen Lee
2015-11-02  8:50 ` [PATCH 07/38] staging: wilc1000: remove return type of Handle_wait_msg_q_empty Glen Lee
2015-11-02  8:50 ` [PATCH 08/38] staging: wilc1000: rename gau8MulticastMacAddrList variable Glen Lee
2015-11-02  8:50 ` [PATCH 09/38] staging: wilc1000: replace explicit NULL comparisons with ! Glen Lee
2015-11-02  8:50 ` [PATCH 10/38] staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM Glen Lee
2015-11-02  8:50 ` [PATCH 11/38] staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler Glen Lee
2015-11-02  8:50 ` [PATCH 12/38] staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config Glen Lee
2015-11-02  8:50 ` [PATCH 13/38] staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list Glen Lee
2015-11-02  8:50 ` [PATCH 14/38] staging: wilc1000: rename pstrWFIDrv of function mac_close Glen Lee
2015-11-02  8:50 ` [PATCH 15/38] staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler Glen Lee
2015-11-02  8:50 ` [PATCH 16/38] staging: wilc1000: fixes blank lines aren't necessary brace Glen Lee
2015-11-02  8:51 ` [PATCH 17/38] staging: wilc1000: linux_wlan.c: clean up comments Glen Lee
2015-11-02  8:51 ` [PATCH 18/38] staging: wilc1000: linux_wlan: remove unused defines Glen Lee
2015-11-02  8:51 ` [PATCH 19/38] staging: wilc1000: remove extern function in c file and move it to header file Glen Lee
2015-11-02  8:51 ` [PATCH 20/38] staging: wilc1000: remove warnings line over 80 characters Glen Lee
2015-11-02  8:51 ` [PATCH 21/38] staging: wilc1000: fixes add spaces required around that '&&' Glen Lee
2015-11-02  8:51 ` [PATCH 22/38] staging: wilc1000: remove do-nothing if condition case Glen Lee
2015-11-02  8:51 ` [PATCH 23/38] staging: wilc1000: rename function GetIfHandler Glen Lee
2015-11-02  8:51 ` [PATCH 24/38] staging: wilc1000: rename pMacHeader of function get_if_handler Glen Lee
2015-11-02  8:51 ` [PATCH 25/38] staging: wilc1000: rename Bssid " Glen Lee
2015-11-02  8:51 ` [PATCH 26/38] staging: wilc1000: rename Bssid1 " Glen Lee
2015-11-02  8:51 ` [PATCH 27/38] staging: wilc1000: rename pBSSID of function linux_wlan_set_bssid Glen Lee
2015-11-02  8:51 ` [PATCH 28/38] staging: wilc1000: fixes braces {} should be used on all arms of this statement Glen Lee
2015-11-02  8:51 ` [PATCH 29/38] staging: wilc1000: remove goto from linux_wlan_start_firmware Glen Lee
2015-11-02 13:36   ` Dan Carpenter
2015-11-02  8:51 ` [PATCH 30/38] staging: wilc1000: remove goto from linux_wlan_firmware_download Glen Lee
2015-11-02  8:51 ` [PATCH 31/38] staging: wilc1000: fixes missing a blank line after declarations Glen Lee
2015-11-02  8:51 ` [PATCH 32/38] staging: wilc1000: remove goto from wlan_initialize_threads Glen Lee
2015-11-02  8:51 ` [PATCH 33/38] staging: wilc1000: remove goto from mac_open Glen Lee
2015-11-02  8:51 ` [PATCH 34/38] staging: wilc1000: rename Set_machw_change_vir_if function Glen Lee
2015-11-02  8:51 ` [PATCH 35/38] staging: wilc1000: rename host_int_get_MacAddress function Glen Lee
2015-11-02  8:51 ` [PATCH 36/38] staging: wilc1000: rename s32Error of mac_ioctl function Glen Lee
2015-11-02  8:51 ` [PATCH 37/38] staging: wilc1000: rename QueueCount of mac_xmit function Glen Lee
2015-11-02  8:51 ` [PATCH 38/38] staging: wilc1000: rename pu8UdpBuffer " Glen Lee
2015-11-04 20:51 ` [PATCH 01/38] staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress Greg KH

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