From patchwork Tue Nov 17 16:33:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bogicevic Sasa X-Patchwork-Id: 7639001 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6E019BF90C for ; Tue, 17 Nov 2015 16:34:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9740E2051C for ; Tue, 17 Nov 2015 16:34:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 95F17204A2 for ; Tue, 17 Nov 2015 16:34:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752605AbbKQQdx (ORCPT ); Tue, 17 Nov 2015 11:33:53 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38322 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752013AbbKQQdw (ORCPT ); Tue, 17 Nov 2015 11:33:52 -0500 Received: by wmec201 with SMTP id c201so34548205wme.1; Tue, 17 Nov 2015 08:33:51 -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; bh=2YC+Ak0Kj6HGQ7YiFOQoYzUqBTtHWN5/2jc9XL5MlZ0=; b=VWe2KVY9d2wdCnOuvd91aSAfph4XV0oA53UfviuMIdtM15h6VM+DIeIdNuVL62UNkf 9kXsHp1MTi8Keumx/DS/DbDmz2vBwedChVSdz/lw98MJ5B3r05tEErqNLRM6Bwox4uPU GVC3JZ0bClRnZjNsWknQHGehUW1XAzCisMCFLugsJ9A7Ipui1EshH0XMQI61k6Vyt3w4 EmU10xhkT9+0OTJSLc8Djy25Vn1TNPDN6JYvVNnnpnyOyTOQxNEAhxIdXQVL1DeOBkC1 s0N7WwwohBxS+A8t8k8QXaChTEHiktFQxlyJiEBM6AG8woS3TpLNbL3UKcFiYboC+4so NpQA== X-Received: by 10.194.79.227 with SMTP id m3mr18369962wjx.123.1447778031464; Tue, 17 Nov 2015 08:33:51 -0800 (PST) Received: from localhost.localdomain (cable-24-135-16-197.dynamic.sbb.rs. [24.135.16.197]) by smtp.gmail.com with ESMTPSA id m191sm17301601wma.3.2015.11.17.08.33.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2015 08:33:50 -0800 (PST) From: Bogicevic Sasa To: jikos@kernel.org Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Bogicevic Sasa Subject: [PATCH] drivers:hid:usbhid Fix ERROR: "foo * bar" should be "foo *bar" Date: Tue, 17 Nov 2015 17:33:40 +0100 Message-Id: <1447778020-16494-1-git-send-email-brutallesale@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.4 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 fixes all errors from checkpatch.pl about that "foo * bar" should be "foo *bar" Signed-off-by: Bogicevic Sasa --- drivers/hid/usbhid/hiddev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index 2f1ddca..c781d1d 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c @@ -234,7 +234,7 @@ static int hiddev_fasync(int fd, struct file *file, int on) /* * release file op */ -static int hiddev_release(struct inode * inode, struct file * file) +static int hiddev_release(struct inode *inode, struct file *file) { struct hiddev_list *list = file->private_data; unsigned long flags; @@ -330,7 +330,7 @@ bail: /* * "write" file op */ -static ssize_t hiddev_write(struct file * file, const char __user * buffer, size_t count, loff_t *ppos) +static ssize_t hiddev_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { return -EINVAL; } @@ -338,7 +338,7 @@ static ssize_t hiddev_write(struct file * file, const char __user * buffer, size /* * "read" file op */ -static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos) +static ssize_t hiddev_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) { DEFINE_WAIT(wait); struct hiddev_list *list = file->private_data;