Re: [PATCH] Staging: wlan-ng: Fix Alignment should match open paranthesis in prism2mgmt.c

From: Greg KH
Date: Fri Feb 16 2018 - 09:37:31 EST


On Fri, Feb 16, 2018 at 12:18:36AM +0530, Yash Omer wrote:
> This is patch fixes up a matching paranthesis alignment issue found by checkpatch.pl script.
>
> Signed-off-by: Yash Omer <yashomer0007@xxxxxxxxx>
> ---
> drivers/staging/wlan-ng/prism2mgmt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
> index 5be1af20d2d4..974a7572fafc 100644
> --- a/drivers/staging/wlan-ng/prism2mgmt.c
> +++ b/drivers/staging/wlan-ng/prism2mgmt.c
> @@ -264,8 +264,8 @@ int prism2mgmt_scan(struct wlandevice *wlandev, void *msgp)
> goto exit;
> }
> /* ibss options */
> - result = hfa384x_drvr_setconfig16(hw,
> - HFA384x_RID_CREATEIBSS,
> + result = hfa384x_drvr_setconfig16
> + (hw, HFA384x_RID_CREATEIBSS,

The original code is just fine, why is checkpatch complaining about
this?

thanks,

greg k-h