Commit c8fe7976 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename strHostIfSetMulti to avoid camelCase

Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f256230
...@@ -2406,7 +2406,7 @@ static void Handle_PowerManagement(struct wilc_vif *vif, ...@@ -2406,7 +2406,7 @@ static void Handle_PowerManagement(struct wilc_vif *vif,
} }
static void Handle_SetMulticastFilter(struct wilc_vif *vif, static void Handle_SetMulticastFilter(struct wilc_vif *vif,
struct set_multicast *strHostIfSetMulti) struct set_multicast *hif_set_mc)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
...@@ -2414,25 +2414,25 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif, ...@@ -2414,25 +2414,25 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif,
wid.id = (u16)WID_SETUP_MULTICAST_FILTER; wid.id = (u16)WID_SETUP_MULTICAST_FILTER;
wid.type = WID_BIN; wid.type = WID_BIN;
wid.size = sizeof(struct set_multicast) + (strHostIfSetMulti->cnt * ETH_ALEN); wid.size = sizeof(struct set_multicast) + (hif_set_mc->cnt * ETH_ALEN);
wid.val = kmalloc(wid.size, GFP_KERNEL); wid.val = kmalloc(wid.size, GFP_KERNEL);
if (!wid.val) if (!wid.val)
goto ERRORHANDLER; goto ERRORHANDLER;
cur_byte = wid.val; cur_byte = wid.val;
*cur_byte++ = (strHostIfSetMulti->enabled & 0xFF); *cur_byte++ = (hif_set_mc->enabled & 0xFF);
*cur_byte++ = 0; *cur_byte++ = 0;
*cur_byte++ = 0; *cur_byte++ = 0;
*cur_byte++ = 0; *cur_byte++ = 0;
*cur_byte++ = (strHostIfSetMulti->cnt & 0xFF); *cur_byte++ = (hif_set_mc->cnt & 0xFF);
*cur_byte++ = ((strHostIfSetMulti->cnt >> 8) & 0xFF); *cur_byte++ = ((hif_set_mc->cnt >> 8) & 0xFF);
*cur_byte++ = ((strHostIfSetMulti->cnt >> 16) & 0xFF); *cur_byte++ = ((hif_set_mc->cnt >> 16) & 0xFF);
*cur_byte++ = ((strHostIfSetMulti->cnt >> 24) & 0xFF); *cur_byte++ = ((hif_set_mc->cnt >> 24) & 0xFF);
if ((strHostIfSetMulti->cnt) > 0) if ((hif_set_mc->cnt) > 0)
memcpy(cur_byte, wilc_multicast_mac_addr_list, memcpy(cur_byte, wilc_multicast_mac_addr_list,
((strHostIfSetMulti->cnt) * ETH_ALEN)); ((hif_set_mc->cnt) * ETH_ALEN));
result = wilc_send_config_pkt(vif, SET_CFG, &wid, 1, result = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment