From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 68EB01CF155 for ; Mon, 16 Apr 2018 10:29:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 666D28758B for ; Mon, 16 Apr 2018 10:29:48 +0000 (UTC) Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pizyI8mQBeF2 for ; Mon, 16 Apr 2018 10:29:47 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 73AEA8755E for ; Mon, 16 Apr 2018 10:29:47 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id d1so24464328wrj.13 for ; Mon, 16 Apr 2018 03:29:47 -0700 (PDT) From: Sergio Paracuellos Subject: [PATCH 08/10] staging: ks7010: fix warning aout long line in init_request Date: Mon, 16 Apr 2018 12:29:30 +0200 Message-Id: <1523874572-25171-9-git-send-email-sergio.paracuellos@gmail.com> In-Reply-To: <1523874572-25171-1-git-send-email-sergio.paracuellos@gmail.com> References: <1523874572-25171-1-git-send-email-sergio.paracuellos@gmail.com> List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: driverdev-devel@linuxdriverproject.org, wsa@the-dreams.de This commit fix length of the definition line of init_request function. Warning from checkpatch script for this is fixed. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks_hostif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 1c10384..ebc3fb2 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -1283,7 +1283,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv) return cpu_to_le16((uint16_t)capability); } -static void init_request(struct ks_wlan_private *priv, struct hostif_request_t *req) +static void init_request(struct ks_wlan_private *priv, + struct hostif_request_t *req) { req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type)); req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode)); -- 2.7.4 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel