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

staging: wilc1000: rename _WPARxGtk_end_case_ label 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 90261dd9
...@@ -1620,7 +1620,7 @@ static int handle_key(struct wilc_vif *vif, ...@@ -1620,7 +1620,7 @@ static int handle_key(struct wilc_vif *vif,
pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL); pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL);
if (!pu8keybuf) { if (!pu8keybuf) {
ret = -ENOMEM; ret = -ENOMEM;
goto _WPARxGtk_end_case_; goto out_wpa_rx_gtk;
} }
if (pstrHostIFkeyAttr->attr.wpa.seq) if (pstrHostIFkeyAttr->attr.wpa.seq)
...@@ -1651,7 +1651,7 @@ static int handle_key(struct wilc_vif *vif, ...@@ -1651,7 +1651,7 @@ static int handle_key(struct wilc_vif *vif,
pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL); pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL);
if (!pu8keybuf) { if (!pu8keybuf) {
ret = -ENOMEM; ret = -ENOMEM;
goto _WPARxGtk_end_case_; goto out_wpa_rx_gtk;
} }
if (hif_drv->hif_state == HOST_IF_CONNECTED) if (hif_drv->hif_state == HOST_IF_CONNECTED)
...@@ -1677,7 +1677,7 @@ static int handle_key(struct wilc_vif *vif, ...@@ -1677,7 +1677,7 @@ static int handle_key(struct wilc_vif *vif,
kfree(pu8keybuf); kfree(pu8keybuf);
complete(&hif_drv->comp_test_key_block); complete(&hif_drv->comp_test_key_block);
} }
_WPARxGtk_end_case_: out_wpa_rx_gtk:
kfree(pstrHostIFkeyAttr->attr.wpa.key); kfree(pstrHostIFkeyAttr->attr.wpa.key);
kfree(pstrHostIFkeyAttr->attr.wpa.seq); kfree(pstrHostIFkeyAttr->attr.wpa.seq);
if (ret) if (ret)
......
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