[PATCH 2/2] Staging: vt6656: fix code indenting error in power.c

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sun Oct 27 13:53:42 UTC 2013


On Thu, Oct 24, 2013 at 07:26:47AM +0200, Johannes Löthberg wrote:
> This patch fixes a code indentation error found by checkpatch.pl
> where a line was indented with spaces instead of tabs
> 
> Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
> ---
>  drivers/staging/vt6656/power.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/vt6656/power.c b/drivers/staging/vt6656/power.c
> index 3002061..a14a2bf 100644
> --- a/drivers/staging/vt6656/power.c
> +++ b/drivers/staging/vt6656/power.c
> @@ -268,7 +268,7 @@ int PSbSendNullPacket(struct vnt_private *pDevice)
>  		+ sizeof(struct vnt_tx_mgmt));
>  
>  	flags = WLAN_SET_FC_FTYPE(WLAN_TYPE_DATA) |
> -                        WLAN_SET_FC_FSTYPE(WLAN_FSTYPE_NULL);
> +		WLAN_SET_FC_FSTYPE(WLAN_FSTYPE_NULL);

No, indent this line properly using tabs to where the spaces were,
that's the correct location.

greg k-h


More information about the devel mailing list