[PATCH] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
This patch fixes to use ether_addr_copy() instead of memcpy() Encounter this by applying checkpatch.pl against this file: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) Signed-off-by: Jagan Teki Cc: Greg Kroah-Hartman Cc: Larry Finger Cc: Florian Schilhabel --- drivers/staging/rtl8712/os_intfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c index 6e776e5..0d27df6 100644 --- a/drivers/staging/rtl8712/os_intfs.c +++ b/drivers/staging/rtl8712/os_intfs.c @@ -181,7 +181,7 @@ static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p) struct sockaddr *addr = p; if (padapter->bup == false) - memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); return 0; } @@ -395,8 +395,8 @@ static int netdev_open(struct net_device *pnetdev) goto netdev_open_error; if (r8712_initmac == NULL) /* Use the mac address stored in the Efuse */ - memcpy(pnetdev->dev_addr, - padapter->eeprompriv.mac_addr, ETH_ALEN); + ether_addr_copy(pnetdev->dev_addr, + padapter->eeprompriv.mac_addr); else { /* We have to inform f/w to use user-supplied MAC * address. @@ -412,8 +412,8 @@ static int netdev_open(struct net_device *pnetdev) * the eeprompriv.mac_addr should store the mac which * users specify. */ - memcpy(padapter->eeprompriv.mac_addr, - pnetdev->dev_addr, ETH_ALEN); + ether_addr_copy(padapter->eeprompriv.mac_addr, + pnetdev->dev_addr); } if (start_drv_threads(padapter) != _SUCCESS) goto netdev_open_error; -- 1.9.1 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH] staging: android: Add more help description on Kconfig
This patch adds more help description on android Kconfig for - lowmemory killer - Timed gpio (same for timed output) Signed-off-by: Jagan Teki Cc: Greg Kroah-Hartman Cc: Brian Swetland --- drivers/staging/android/Kconfig | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 8feb904..24d657b 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig @@ -22,11 +22,20 @@ config ANDROID_TIMED_GPIO tristate "Android timed gpio driver" depends on GPIOLIB && ANDROID_TIMED_OUTPUT default n +---help--- + Unlike generic gpio is to allow programs to access and manipulate gpio + registers from user space, timed output/gpio is a system to allow changing + a gpio pin and restore it automatically after a specified timeout. config ANDROID_LOW_MEMORY_KILLER bool "Android Low Memory Killer" ---help--- - Registers processes to be killed when memory is low + Registers processes to be killed when low memory conditions, this is useful + as there is no particular swap space on android. + + The registered process will kills according to the priorities in android init + scripts (/init.rc), and it defines priority values with minimum free memory size + for each priority. config SYNC bool "Synchronization framework" -- 1.9.1 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH v2] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
Fixes Warning encounter this by applying checkpatch.pl against this file: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) pahole output for respective structures: - addr->sa_data struct sockaddr { sa_family_tsa_family;/* 0 2 */ char sa_data[14]; /* 214 */ /* size: 16, cachelines: 1, members: 2 */ /* last cacheline: 16 bytes */ }; - padapter->eeprompriv.mac_addr struct _adapter { struct dvobj_priv dvobjpriv;/* 040 */ struct mlme_priv mlmepriv; /*40 1560 */ /* --- cacheline 25 boundary (1600 bytes) --- */ struct cmd_privcmdpriv; /* 1600 136 */ /* --- cacheline 27 boundary (1728 bytes) was 8 bytes ago --- */ struct evt_privevtpriv; /* 173696 */ /* --- cacheline 28 boundary (1792 bytes) was 40 bytes ago --- */ struct io_queue * pio_queue;/* 1832 8 */ struct xmit_priv xmitpriv; /* 1840 912 */ /* --- cacheline 43 boundary (2752 bytes) --- */ struct recv_priv recvpriv; /* 2752 1088 */ /* --- cacheline 60 boundary (3840 bytes) --- */ struct sta_privstapriv; /* 3840 672 */ /* --- cacheline 70 boundary (4480 bytes) was 32 bytes ago --- */ struct security_priv securitypriv; /* 4512 4816 */ /* --- cacheline 145 boundary (9280 bytes) was 48 bytes ago --- */ struct registry_priv registrypriv; /* 9328 968 */ /* --- cacheline 160 boundary (10240 bytes) was 56 bytes ago --- */ struct wlan_acl_pool acl_list; /* 10296 1536 */ /* --- cacheline 184 boundary (11776 bytes) was 56 bytes ago --- */ struct pwrctrl_privpwrctrlpriv; /* 11832 224 */ /* --- cacheline 188 boundary (12032 bytes) was 24 bytes ago --- */ struct eeprom_priv eeprompriv; /* 12056 508 */ }; struct eeprom_priv { u8 bautoload_fail_flag; /* 0 1 */ u8 bempty; /* 1 1 */ u8 sys_config; /* 2 1 */ u8 mac_addr[6]; /* 3 6 */ .. }; - pnetdev->dev_addr dev_addr is interface address infor from generic net_device structure which is properly aligned and have some patches with this change as well. "staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()" (sha1: 36e4d8826b317080e283e4edd08bf8d5ac706f38) Signed-off-by: Jagan Teki Cc: Greg Kroah-Hartman Cc: Larry Finger Cc: Florian Schilhabel --- Changes for v2: - Describe a changelog, to prove address are aligned. drivers/staging/rtl8712/os_intfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c index 6e776e5..0d27df6 100644 --- a/drivers/staging/rtl8712/os_intfs.c +++ b/drivers/staging/rtl8712/os_intfs.c @@ -181,7 +181,7 @@ static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p) struct sockaddr *addr = p; if (padapter->bup == false) - memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); return 0; } @@ -395,8 +395,8 @@ static int netdev_open(struct net_device *pnetdev) goto netdev_open_error; if (r8712_initmac == NULL) /* Use the mac address stored in the Efuse */ - memcpy(pnetdev->dev_addr, - padapter->eeprompriv.mac_addr, ETH_ALEN); + ether_addr_copy(pnetdev->dev_addr, + padapter->eeprompriv.mac_addr); else { /* We have to inform f/w to use user-supplied MAC * address. @@ -412,8 +412,8 @@ static int netdev_open(struct net_device *pnetdev) * the eeprompriv.mac_addr should store the mac which * users specify. */ - memcpy(padapter->eeprompriv.mac_addr, - pnetdev->dev_addr, ETH_ALEN); + ether_addr_copy(padapter->eeprompriv.mac_addr, + pnetdev->dev_addr); } if (start_drv_threads(padapter) != _SUCCESS) goto netdev_open_error; -- 1.9.1 __
Re: [PATCH v2] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
On 18 May 2015 at 20:08, Dan Carpenter wrote: > On Mon, May 18, 2015 at 07:47:06PM +0530, Jagan Teki wrote: >> struct eeprom_priv { >> u8 bautoload_fail_flag; /* 0 1 */ >> u8 bempty; /* 1 1 */ >> u8 sys_config; /* 2 1 */ >> u8 mac_addr[6]; /* 3 6 */ >> .. >> }; > > This means it's not aligned as we want. Why size upto mac_addr is 9 and is not divisible by 2 is it? or the mac_addr size is 6 which is divisible by 2 (__align(2)) this is full pahole: struct eeprom_priv { u8 bautoload_fail_flag; /* 0 1 */ u8 bempty; /* 1 1 */ u8 sys_config; /* 2 1 */ u8 mac_addr[6]; /* 3 6 */ u8 config0; /* 9 1 */ u16channel_plan; /*10 2 */ u8 country_string[3];/*12 3 */ u8 tx_power_b[15]; /*1515 */ u8 tx_power_g[15]; /*3015 */ u8 tx_power_a[201]; /*45 201 */ /* --- cacheline 3 boundary (192 bytes) was 54 bytes ago --- */ u8 efuse_eeprom_data[256]; /* 246 256 */ /* XXX 2 bytes hole, try to pack */ /* --- cacheline 7 boundary (448 bytes) was 56 bytes ago --- */ enum RT_CUSTOMER_IDCustomerID; /* 504 4 */ /* size: 508, cachelines: 8, members: 12 */ /* sum members: 506, holes: 1, sum holes: 2 */ /* last cacheline: 60 bytes */ }; thanks! -- Jagan Teki, Openedev. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH v3] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
Fixes Warning encounter this by applying checkpatch.pl against this file: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) pahole output for respective structures: - addr->sa_data struct sockaddr { sa_family_tsa_family;/* 0 2 */ char sa_data[14]; /* 214 */ /* size: 16, cachelines: 1, members: 2 */ /* last cacheline: 16 bytes */ }; - pnetdev->dev_addr dev_addr is interface address infor from generic net_device structure which is properly aligned and have some patches with this change as well. "staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()" (sha1: 36e4d8826b317080e283e4edd08bf8d5ac706f38) Signed-off-by: Jagan Teki Cc: Greg Kroah-Hartman Cc: Larry Finger Cc: Florian Schilhabel --- Changes for v3: - Removed unaligned conversions Changes for v2: - Describe a changelog, to prove address are aligned drivers/staging/rtl8712/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c index 6e776e5..d5f4c4d 100644 --- a/drivers/staging/rtl8712/os_intfs.c +++ b/drivers/staging/rtl8712/os_intfs.c @@ -181,7 +181,7 @@ static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p) struct sockaddr *addr = p; if (padapter->bup == false) - memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); return 0; } -- 1.9.1 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH] staging: rtl8188eu: core: Fix line over 80 characters
This patch fixes line over 80 characters warninings while running checkpatch.pl - "WARNING: line over 80 characters" Signed-off-by: Jagan Teki Cc: Greg Kroah-Hartman Cc: Larry Finger --- drivers/staging/rtl8188eu/core/rtw_ap.c | 52 +++-- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index e65ee6e..02784dd 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ap.c +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c @@ -81,12 +81,14 @@ static void update_BCNTIM(struct adapter *padapter) u8 *pbackup_remainder_ie = NULL; uint offset, tmp_len, tim_ielen, tim_ie_offset, remainder_ielen; - p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen, pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_); + p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen, + pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_); if (p != NULL && tim_ielen > 0) { tim_ielen += 2; premainder_ie = p+tim_ielen; tim_ie_offset = (int)(p - pie); - remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen; + remainder_ielen = pnetwork_mlmeext->IELength - + tim_ie_offset - tim_ielen; /* append TIM IE from dst_ie offset */ dst_ie = p; } else { @@ -97,7 +99,10 @@ static void update_BCNTIM(struct adapter *padapter) offset += pnetwork_mlmeext->Ssid.SsidLength + 2; /* get supported rates len */ - p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, _SUPPORTEDRATES_IE_, &tmp_len, (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_)); + p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, + _SUPPORTEDRATES_IE_, &tmp_len, + (pnetwork_mlmeext->IELength - + _BEACON_IE_OFFSET_)); if (p != NULL) offset += tmp_len+2; @@ -106,7 +111,8 @@ static void update_BCNTIM(struct adapter *padapter) premainder_ie = pie + offset; - remainder_ielen = pnetwork_mlmeext->IELength - offset - tim_ielen; + remainder_ielen = pnetwork_mlmeext->IELength - + offset - tim_ielen; /* append TIM IE from offset */ dst_ie = pie + offset; @@ -115,11 +121,13 @@ static void update_BCNTIM(struct adapter *padapter) if (remainder_ielen > 0) { pbackup_remainder_ie = rtw_malloc(remainder_ielen); if (pbackup_remainder_ie && premainder_ie) - memcpy(pbackup_remainder_ie, premainder_ie, remainder_ielen); + memcpy(pbackup_remainder_ie, + premainder_ie, remainder_ielen); } *dst_ie++ = _TIM_IE_; - if ((pstapriv->tim_bitmap&0xff00) && (pstapriv->tim_bitmap&0x00fc)) + if ((pstapriv->tim_bitmap&0xff00) && + (pstapriv->tim_bitmap&0x00fc)) tim_ielen = 5; else tim_ielen = 4; @@ -154,7 +162,8 @@ static void update_BCNTIM(struct adapter *padapter) set_tx_beacon_cmd(padapter); } -void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, u8 index, u8 *data, u8 len) +void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, + u8 index, u8 *data, u8 len) { struct ndis_802_11_var_ie *pIE; u8 bmatch = false; @@ -168,7 +177,8 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, u8 if (pIE->ElementID > index) { break; - } else if (pIE->ElementID == index) { /* already exist the same IE */ + /* already exist the same IE */ + } else if (pIE->ElementID == index) { p = (u8 *)pIE; ielen = pIE->Length; bmatch = true; @@ -197,7 +207,8 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, u8 if (remainder_ielen > 0) { pbackup_remainder_ie = rtw_malloc(remainder_ielen); if (pbackup_remainder_ie && premaind
Re: [PATCH v3] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
On 18 May 2015 at 22:02, Jagan Teki wrote: > Fixes Warning encounter this by applying checkpatch.pl against this file: > Prefer ether_addr_copy() over memcpy() if the Ethernet addresses > are __aligned(2) > > pahole output for respective structures: > - addr->sa_data > struct sockaddr { > sa_family_tsa_family;/* 0 2 */ > char sa_data[14]; /* 214 */ > > /* size: 16, cachelines: 1, members: 2 */ > /* last cacheline: 16 bytes */ > }; > > - pnetdev->dev_addr > dev_addr is interface address infor from generic net_device structure > which is properly aligned and have some patches with this change as well. > "staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()" > (sha1: 36e4d8826b317080e283e4edd08bf8d5ac706f38) > > Signed-off-by: Jagan Teki > Cc: Greg Kroah-Hartman > Cc: Larry Finger > Cc: Florian Schilhabel > --- > Changes for v3: > - Removed unaligned conversions > Changes for v2: > - Describe a changelog, to prove address are aligned > > drivers/staging/rtl8712/os_intfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8712/os_intfs.c > b/drivers/staging/rtl8712/os_intfs.c > index 6e776e5..d5f4c4d 100644 > --- a/drivers/staging/rtl8712/os_intfs.c > +++ b/drivers/staging/rtl8712/os_intfs.c > @@ -181,7 +181,7 @@ static int r871x_net_set_mac_address(struct net_device > *pnetdev, void *p) > struct sockaddr *addr = p; > > if (padapter->bup == false) > - memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); > + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); > return 0; > } > > -- Ping! ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Re: [PATCH] staging: rtl8188eu: core: Fix line over 80 characters
On 18 May 2015 at 22:34, Jagan Teki wrote: > This patch fixes line over 80 characters warninings while > running checkpatch.pl - "WARNING: line over 80 characters" > > Signed-off-by: Jagan Teki > Cc: Greg Kroah-Hartman > Cc: Larry Finger > --- > drivers/staging/rtl8188eu/core/rtw_ap.c | 52 > +++-- > 1 file changed, 36 insertions(+), 16 deletions(-) > > diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c > b/drivers/staging/rtl8188eu/core/rtw_ap.c > index e65ee6e..02784dd 100644 > --- a/drivers/staging/rtl8188eu/core/rtw_ap.c > +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c > @@ -81,12 +81,14 @@ static void update_BCNTIM(struct adapter *padapter) > u8 *pbackup_remainder_ie = NULL; > uint offset, tmp_len, tim_ielen, tim_ie_offset, > remainder_ielen; > > - p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen, > pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_); > + p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen, > + pnetwork_mlmeext->IELength - > _FIXED_IE_LENGTH_); > if (p != NULL && tim_ielen > 0) { > tim_ielen += 2; > premainder_ie = p+tim_ielen; > tim_ie_offset = (int)(p - pie); > - remainder_ielen = pnetwork_mlmeext->IELength - > tim_ie_offset - tim_ielen; > + remainder_ielen = pnetwork_mlmeext->IELength - > + tim_ie_offset - tim_ielen; > /* append TIM IE from dst_ie offset */ > dst_ie = p; > } else { > @@ -97,7 +99,10 @@ static void update_BCNTIM(struct adapter *padapter) > offset += pnetwork_mlmeext->Ssid.SsidLength + 2; > > /* get supported rates len */ > - p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, > _SUPPORTEDRATES_IE_, &tmp_len, (pnetwork_mlmeext->IELength - > _BEACON_IE_OFFSET_)); > + p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, > + _SUPPORTEDRATES_IE_, &tmp_len, > + (pnetwork_mlmeext->IELength - > + _BEACON_IE_OFFSET_)); > if (p != NULL) > offset += tmp_len+2; > > @@ -106,7 +111,8 @@ static void update_BCNTIM(struct adapter *padapter) > > premainder_ie = pie + offset; > > - remainder_ielen = pnetwork_mlmeext->IELength - offset > - tim_ielen; > + remainder_ielen = pnetwork_mlmeext->IELength - > + offset - tim_ielen; > > /* append TIM IE from offset */ > dst_ie = pie + offset; > @@ -115,11 +121,13 @@ static void update_BCNTIM(struct adapter *padapter) > if (remainder_ielen > 0) { > pbackup_remainder_ie = rtw_malloc(remainder_ielen); > if (pbackup_remainder_ie && premainder_ie) > - memcpy(pbackup_remainder_ie, premainder_ie, > remainder_ielen); > + memcpy(pbackup_remainder_ie, > + premainder_ie, > remainder_ielen); > } > *dst_ie++ = _TIM_IE_; > > - if ((pstapriv->tim_bitmap&0xff00) && > (pstapriv->tim_bitmap&0x00fc)) > + if ((pstapriv->tim_bitmap&0xff00) && > + (pstapriv->tim_bitmap&0x00fc)) > tim_ielen = 5; > else > tim_ielen = 4; > @@ -154,7 +162,8 @@ static void update_BCNTIM(struct adapter *padapter) > set_tx_beacon_cmd(padapter); > } > > -void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex > *pnetwork, u8 index, u8 *data, u8 len) > +void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork, > + u8 index, u8 *data, u8 len) > { > struct ndis_802_11_var_ie *pIE; > u8 bmatch = false; > @@ -168,7 +177,8 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct > wlan_bssid_ex *pnetwork, u8 > > if (pIE->ElementID > index) { > break; > - } else if (pIE->ElementID == index) { /* already exist the > same IE */ >
Re: [PATCH v3] staging: rtl8712: Use ether_addr_copy() instead of memcpy()
On 21 May 2015 at 01:10, Larry Finger wrote: > On 05/20/2015 01:41 PM, Jagan Teki wrote: >> >> On 18 May 2015 at 22:02, Jagan Teki wrote: >>> >>> Fixes Warning encounter this by applying checkpatch.pl against this file: >>> Prefer ether_addr_copy() over memcpy() if the Ethernet addresses >>> are __aligned(2) >>> >>> pahole output for respective structures: >>> - addr->sa_data >>> struct sockaddr { >>> sa_family_tsa_family;/* 0 2 >>> */ >>> char sa_data[14]; /* 214 >>> */ >>> >>> /* size: 16, cachelines: 1, members: 2 */ >>> /* last cacheline: 16 bytes */ >>> }; >>> >>> - pnetdev->dev_addr >>> dev_addr is interface address infor from generic net_device structure >>> which is properly aligned and have some patches with this change as well. >>> "staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()" >>> (sha1: 36e4d8826b317080e283e4edd08bf8d5ac706f38) >>> >>> Signed-off-by: Jagan Teki >>> Cc: Greg Kroah-Hartman >>> Cc: Larry Finger >>> Cc: Florian Schilhabel >>> --- >>> Changes for v3: >>> - Removed unaligned conversions >>> Changes for v2: >>> - Describe a changelog, to prove address are aligned >>> >>> drivers/staging/rtl8712/os_intfs.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/staging/rtl8712/os_intfs.c >>> b/drivers/staging/rtl8712/os_intfs.c >>> index 6e776e5..d5f4c4d 100644 >>> --- a/drivers/staging/rtl8712/os_intfs.c >>> +++ b/drivers/staging/rtl8712/os_intfs.c >>> @@ -181,7 +181,7 @@ static int r871x_net_set_mac_address(struct >>> net_device *pnetdev, void *p) >>> struct sockaddr *addr = p; >>> >>> if (padapter->bup == false) >>> - memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); >>> + ether_addr_copy(pnetdev->dev_addr, addr->sa_data); >>> return 0; >>> } >>> >>> -- >> >> >> Ping! > > > Ah. Not only are you ignorant, but you are also rude! The patch was not > NACKed, thus it will be picked up in good time. What are these statements, sending a patch with valid proofs implies rudeness? Does this patch still have changes..? -- Jagan ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel