Re: [PATCH 1/1] Rename camel case variables in channel.c (updated)

From: Joe Perches
Date: Thu Sep 23 2010 - 18:38:14 EST


On Thu, 2010-09-23 at 22:04 +0000, Haiyang Zhang wrote:
> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
>
> Rename camel case variables in channel.c
[]
> -static int VmbusChannelCreateGpadlHeader(void *Kbuffer, u32 Size,
> - struct vmbus_channel_msginfo **MsgInfo,
> - u32 *MessageCount)
> +static int VmbusChannelCreateGpadlHeader(void *kbuffer, u32 size,
> + struct vmbus_channel_msginfo **msginfo,
> + u32 *messagecount)
> {
> int i;
> - int pageCount;
> + int pagecount;
> unsigned long long pfn;
> - struct vmbus_channel_gpadl_header *gpaHeader;
> - struct vmbus_channel_gpadl_body *gpadlBody;
> - struct vmbus_channel_msginfo *msgHeader;
> - struct vmbus_channel_msginfo *msgBody = NULL;
> - u32 msgSize;
> + struct vmbus_channel_gpadl_header *gpal_header;
> + struct vmbus_channel_gpadl_body *gpadl_body;
> + struct vmbus_channel_msginfo *msgheader;
> + struct vmbus_channel_msginfo *msgbody = NULL;
> + u32 msgsize;

Why gpal_header and not gpadl_header?

I didn't read farther.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/