Commit 9de60ba9 authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

staging: rtl8712: Match alignment with open parenthesis.

Matched function arguments alignment with its open parenthesis. This patch
fixes the following checkpatch issue:

CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5043bd3c
...@@ -392,7 +392,7 @@ static int netdev_open(struct net_device *pnetdev) ...@@ -392,7 +392,7 @@ static int netdev_open(struct net_device *pnetdev)
if (!r8712_initmac) if (!r8712_initmac)
/* Use the mac address stored in the Efuse */ /* Use the mac address stored in the Efuse */
memcpy(pnetdev->dev_addr, memcpy(pnetdev->dev_addr,
padapter->eeprompriv.mac_addr, ETH_ALEN); padapter->eeprompriv.mac_addr, ETH_ALEN);
else { else {
/* We have to inform f/w to use user-supplied MAC /* We have to inform f/w to use user-supplied MAC
* address. * address.
...@@ -409,7 +409,7 @@ static int netdev_open(struct net_device *pnetdev) ...@@ -409,7 +409,7 @@ static int netdev_open(struct net_device *pnetdev)
* users specify. * users specify.
*/ */
memcpy(padapter->eeprompriv.mac_addr, memcpy(padapter->eeprompriv.mac_addr,
pnetdev->dev_addr, ETH_ALEN); pnetdev->dev_addr, ETH_ALEN);
} }
if (start_drv_threads(padapter) != _SUCCESS) if (start_drv_threads(padapter) != _SUCCESS)
goto netdev_open_error; goto netdev_open_error;
......
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