From patchwork Thu Jan 21 01:20:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8076381 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EE8A79F9A0 for ; Thu, 21 Jan 2016 01:21:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 207D7205F9 for ; Thu, 21 Jan 2016 01:21:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3864420534 for ; Thu, 21 Jan 2016 01:21:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752801AbcAUBV1 (ORCPT ); Wed, 20 Jan 2016 20:21:27 -0500 Received: from mail-pa0-f65.google.com ([209.85.220.65]:36013 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbcAUBVZ (ORCPT ); Wed, 20 Jan 2016 20:21:25 -0500 Received: by mail-pa0-f65.google.com with SMTP id a20so1010030pag.3 for ; Wed, 20 Jan 2016 17:21:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NYSIKGgYCF3y4cZ9sHShBfYAZHtYJFfrFP8cXwuRC3M=; b=PLt2lpmdHvjHSKvhG17HbZr1eMvan93m4lGOYvB5FiEOlK7RmFZ2W1AnjgFclGeDTd Vv9eTWCbOt4IOFFnJHoGjsapAKDZ55XWtTaN34bloobTRT/JTmS63YSbUBvwQ7RQ0Qpw NXWZ/knfTBEtxCX42XofCP/dBXsxm/mbxdz3E6fJ69RFdYvpcqu7U99lwhXMn6p8iutP ntgEr3n8NofVoN7iue9cz5ClFNVIeqZfQOUryLoc+eWsEzQtvHqx9GcjOrREOd4AoRnH xCYuijwQ5DGNPcPs7q9nk+/Toy2WmqdYKFlxrBunE+UQq204eHih+7pIZ5jpcbib18z3 S34A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NYSIKGgYCF3y4cZ9sHShBfYAZHtYJFfrFP8cXwuRC3M=; b=ccfrdpd6Nv/wqp8gOL+LIS69NmRyFsDMg/MSNxkeMtgTmTb72o0tjzVXWHLMKIhj53 PTAOrqFXhPKNPoNk5o4PXaNFE6VGuu3V0vKDRlZVT+WsRN/jzS4pT54rhOPfELNoN9xk nJYRzFfoAVfPBYq9E9YdFSfqN+j47eI+mawwrfm3r91QAB9I6cmcV9ZGlNLRNv6glKbC 2QMvcGN4QgPxKtAMV25Dcawz0H6xHdi6VDeezuz6PoC8buLO9Eq7zW9r+IiQC4Bwo65p QUM35yEsDcbDufvpPNkqpzwIBHrEzbLHfxhBIsfNZQ9xW4WSZCiKU1m79QNlTrjhwFjZ cubQ== X-Gm-Message-State: ALoCoQlWK8U3pKk1YQ5mSAphVi0rEXY6jyRranJVj2QNK5tPipwl9nVpmU+AjoFFTUjpmfG3ZPxN9SGLhjfYb6xWTg6SYKJ+Ig== X-Received: by 10.67.5.2 with SMTP id ci2mr57030343pad.47.1453339284958; Wed, 20 Jan 2016 17:21:24 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id s19sm51372596pfs.62.2016.01.20.17.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jan 2016 17:21:24 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 15/27] staging: wilc1000: rename pvSendBuffer in wilc_mq_send Date: Thu, 21 Jan 2016 10:20:18 +0900 Message-Id: <1453339230-1377-15-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1453339230-1377-1-git-send-email-chaehyun.lim@gmail.com> References: <1453339230-1377-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch renames pvSendBuffer to send_buf to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_msgqueue.c | 8 ++++---- drivers/staging/wilc1000/wilc_msgqueue.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c index 71ce1f5..5feb87c 100644 --- a/drivers/staging/wilc1000/wilc_msgqueue.c +++ b/drivers/staging/wilc1000/wilc_msgqueue.c @@ -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); diff --git a/drivers/staging/wilc1000/wilc_msgqueue.h b/drivers/staging/wilc1000/wilc_msgqueue.h index e6cdc10..3adee90 100644 --- a/drivers/staging/wilc1000/wilc_msgqueue.h +++ b/drivers/staging/wilc1000/wilc_msgqueue.h @@ -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