* @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;
}
pstrMessage->len = u32SendBufferSize;
pstrMessage->next = NULL;
- pstrMessage->buf = kmemdup(pvSendBuffer, u32SendBufferSize,
+ pstrMessage->buf = kmemdup(send_buf, u32SendBufferSize,
GFP_ATOMIC);
if (!pstrMessage->buf) {
kfree(pstrMessage);
* @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