2010-02-20 20:36:26

by Chris Nicholson

[permalink] [raw]
Subject: [PATCH] Staging: hv: fix brace coding style issue in Channel.c

From: Chris Nicholson <[email protected]>

This is a patch to the Channel.c file that fixes up a brace
warning found by checkpatch.pl

Signed-off-by: Chris Nicholson <[email protected]>
---
drivers/staging/hv/Channel.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c
index 746370e..d46eb14 100644
--- a/drivers/staging/hv/Channel.c
+++ b/drivers/staging/hv/Channel.c
@@ -991,9 +991,8 @@ void VmbusChannelOnTimer(unsigned long data)
{
struct vmbus_channel *channel = (struct vmbus_channel *)data;

- if (channel->OnChannelCallback) {
+ if (channel->OnChannelCallback)
channel->OnChannelCallback(channel->ChannelCallbackContext);
- }
}

/**
--
1.6.6


2010-02-20 21:26:20

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Staging: hv: fix brace coding style issue in Channel.c

On Sat, Feb 20, 2010 at 08:36:23PM +0000, [email protected] wrote:
> From: Chris Nicholson <[email protected]>
>
> This is a patch to the Channel.c file that fixes up a brace
> warning found by checkpatch.pl
>
> Signed-off-by: Chris Nicholson <[email protected]>
> ---
> drivers/staging/hv/Channel.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)

Looks good, I'll queue it up next week.

thanks,

greg k-h