staging: wilc1000: rename pvSendBuffer in wilc_mq_send
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 21 Jan 2016 11:30:45 +0000 (20:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:21:18 +0000 (15:21 -0800)
This patch renames pvSendBuffer to send_buf to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_msgqueue.c
drivers/staging/wilc1000/wilc_msgqueue.h

index 71ce1f585c3c982e16f7af94576d92ce8a587304..5feb87c88e0dffcb1e7208d00b634b17913f2699 100644 (file)
@@ -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);
index e6cdc10fb1dabf02d7feaeaa808a07ece6c8e4e0..3adee906c5178498acb0787828f4c31a965450c6 100644 (file)
@@ -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