2010-04-28 21:56:00

by Roel Van Nyen

[permalink] [raw]
Subject: [PATCH] Staging: hv: Fix coding style errors in NetVsc.c

Fix coding style issues

Signed-of-by: Roel Van Nyen <[email protected]>
---
drivers/staging/hv/NetVsc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c
index e1ca343..f84942d 100644
--- a/drivers/staging/hv/NetVsc.c
+++ b/drivers/staging/hv/NetVsc.c
@@ -1087,7 +1087,7 @@ static void NetVscOnReceive(struct hv_device *Device,
}

/* Remove the 1st packet to represent the xfer page packet itself */
- xferpagePacket = (struct xferpage_packet*)listHead.next;
+ xferpagePacket = (struct xferpage_packet *)listHead.next;
list_del(&xferpagePacket->ListEntry);

/* This is how much we can satisfy */
@@ -1103,7 +1103,7 @@ static void NetVscOnReceive(struct hv_device *Device,

/* Each range represents 1 RNDIS pkt that contains 1 ethernet frame */
for (i = 0; i < (count - 1); i++) {
- netvscPacket = (struct hv_netvsc_packet*)listHead.next;
+ netvscPacket = (struct hv_netvsc_packet *)listHead.next;
list_del(&netvscPacket->ListEntry);

/* Initialize the netvsc packet */
--
1.6.3.3


2010-04-28 22:28:19

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Staging: hv: Fix coding style errors in NetVsc.c

On Wed, Apr 28, 2010 at 11:55:48PM +0200, Roel Van Nyen wrote:
> Fix coding style issues
>
> Signed-of-by: Roel Van Nyen <[email protected]>
> ---
> drivers/staging/hv/NetVsc.c | 4 ++--

This fix has already been made in the linux-next tree. Can you make
sure you work off of it, and not an older tree in the future?

thanks,

greg k-h

2010-04-28 22:49:05

by Roel Van Nyen

[permalink] [raw]
Subject: Re: [PATCH] Staging: hv: Fix coding style errors in NetVsc.c

Greg KH wrote:

> On Wed, Apr 28, 2010 at 11:55:48PM +0200, Roel Van Nyen wrote:
>
>> Fix coding style issues
>>
>> Signed-of-by: Roel Van Nyen <[email protected]>
>> ---
>> drivers/staging/hv/NetVsc.c | 4 ++--
>>
>
> This fix has already been made in the linux-next tree. Can you make
> sure you work off of it, and not an older tree in the future?
>
> thanks,
>
> greg k-h
>
I will update my next tree more frequent.

thanks,
roel