Commit 832f4fa5 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pvSendBuffer in wilc_mq_send

This patch renames pvSendBuffer to send_buf to avoid camelcase.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5eb35975
......@@ -54,13 +54,13 @@ int wilc_mq_destroy(struct message_queue *mq)
* @version 1.0
*/
int wilc_mq_send(struct message_queue *mq,
const void *pvSendBuffer, u32 u32SendBufferSize)
const void *send_buf, u32 u32SendBufferSize)
{
unsigned long flags;
struct message *pstrMessage = NULL;
if ((!mq) || (u32SendBufferSize == 0) || (!pvSendBuffer)) {
PRINT_ER("mq or pvSendBuffer is null\n");
if ((!mq) || (u32SendBufferSize == 0) || (!send_buf)) {
PRINT_ER("mq or send_buf is null\n");
return -EFAULT;
}
......@@ -76,7 +76,7 @@ int wilc_mq_send(struct message_queue *mq,
pstrMessage->len = u32SendBufferSize;
pstrMessage->next = NULL;
pstrMessage->buf = kmemdup(pvSendBuffer, u32SendBufferSize,
pstrMessage->buf = kmemdup(send_buf, u32SendBufferSize,
GFP_ATOMIC);
if (!pstrMessage->buf) {
kfree(pstrMessage);
......
......@@ -58,7 +58,7 @@ int wilc_mq_create(struct message_queue *mq);
* @version 1.0
*/
int wilc_mq_send(struct message_queue *mq,
const void *pvSendBuffer, u32 u32SendBufferSize);
const void *send_buf, u32 u32SendBufferSize);
/*!
* @brief Receives a message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment