diff options
author | Himadri Pandya <himadri18.07@gmail.com> | 2019-02-12 23:17:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-13 21:43:34 +0300 |
commit | e7dd3d47bc721b79576f67b0952070b4eccccc36 (patch) | |
tree | 121c1937802788fbe480065d92454cdda82d7c82 /drivers | |
parent | 479826cc86118e0d87e5cefb3df5b748e0480924 (diff) | |
download | linux-e7dd3d47bc721b79576f67b0952070b4eccccc36.tar.xz |
staging: rtl8192e: rename function cpMacAddr to copy_mac_addr - style
Rename function cpMacAddr to copy_mac_addr in order to fix checkpatch
warning: Avoid CamelCase and make the function name more readable,
understandable.
Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192e/dot11d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h index 548b7206c0db..cbf6337193d6 100644 --- a/drivers/staging/rtl8192e/dot11d.h +++ b/drivers/staging/rtl8192e/dot11d.h @@ -53,7 +53,7 @@ struct rt_dot11d_info { enum dot11d_state state; }; -static inline void cpMacAddr(unsigned char *des, unsigned char *src) +static inline void copy_mac_addr(unsigned char *des, unsigned char *src) { memcpy(des, src, 6); } @@ -70,7 +70,7 @@ static inline void cpMacAddr(unsigned char *des, unsigned char *src) ether_addr_equal_unaligned( \ GET_DOT11D_INFO(__pIeeeDev)->country_src_addr, __pTa) #define UPDATE_CIE_SRC(__pIeeeDev, __pTa) \ - cpMacAddr(GET_DOT11D_INFO(__pIeeeDev)->country_src_addr, __pTa) + copy_mac_addr(GET_DOT11D_INFO(__pIeeeDev)->country_src_addr, __pTa) #define GET_CIE_WATCHDOG(__pIeeeDev) \ (GET_DOT11D_INFO(__pIeeeDev)->country_watchdog) |