[OPW,kernel] Staging: rtl8192e: Replacing (u8*) with (u8 *)
diff mbox

Message ID 20131015124430.GA3102@Ashvini
State Accepted
Headers show

Commit Message

Ashvini Varatharaj Oct. 15, 2013, 12:44 p.m. UTC
Fix checkpatch error: ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>
---
 drivers/staging/rtl8192e/dot11d.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Josh Triplett Oct. 15, 2013, 2:44 p.m. UTC | #1
On Tue, Oct 15, 2013 at 06:14:30PM +0530, Ashvini Varatharaj wrote:
> Fix checkpatch error: ERROR: "(foo*)" should be "(foo *)"
> 
> Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
>  drivers/staging/rtl8192e/dot11d.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c
> index f7b14f8..1260f10 100644
> --- a/drivers/staging/rtl8192e/dot11d.c
> +++ b/drivers/staging/rtl8192e/dot11d.c
> @@ -151,7 +151,7 @@ void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
>  			MaxChnlNum = pTriple->FirstChnl + j;
>  		}
>  
> -		pTriple = (struct chnl_txpow_triple *)((u8*)pTriple + 3);
> +		pTriple = (struct chnl_txpow_triple *)((u8 *)pTriple + 3);
>  	}
>  
>  	UPDATE_CIE_SRC(dev, pTaddr);
> -- 
> 1.7.9.5
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Greg Kroah-Hartman Oct. 15, 2013, 3:47 p.m. UTC | #2
On Tue, Oct 15, 2013 at 06:14:30PM +0530, Ashvini Varatharaj wrote:
> Fix checkpatch error: ERROR: "(foo*)" should be "(foo *)"
> 
> Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/rtl8192e/dot11d.c b/drivers/staging/rtl8192e/dot11d.c
index f7b14f8..1260f10 100644
--- a/drivers/staging/rtl8192e/dot11d.c
+++ b/drivers/staging/rtl8192e/dot11d.c
@@ -151,7 +151,7 @@  void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
 			MaxChnlNum = pTriple->FirstChnl + j;
 		}
 
-		pTriple = (struct chnl_txpow_triple *)((u8*)pTriple + 3);
+		pTriple = (struct chnl_txpow_triple *)((u8 *)pTriple + 3);
 	}
 
 	UPDATE_CIE_SRC(dev, pTaddr);