From patchwork Sun Jul 16 04:11:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Wu X-Patchwork-Id: 704024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C7B0EB64DD for ; Sun, 16 Jul 2023 04:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229541AbjGPELW (ORCPT ); Sun, 16 Jul 2023 00:11:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGPELU (ORCPT ); Sun, 16 Jul 2023 00:11:20 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06BA01BF9 for ; Sat, 15 Jul 2023 21:11:16 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R3Www4STwzBHXgp for ; Sun, 16 Jul 2023 12:11:12 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689480672; x=1692072673; bh=CTsBTIbqlmVhMmez/i4F5aY/S0M mIqeeOyo3GPyqXvE=; b=yNMsw7veH00TsIuaSCzXFFTM5aScBa4csay0FbWMpKw IlsrTW3POpoX6A01zS1jB4gCcfgqvhPg2V6UYtCLYdlD85+BqUA8GVb0WDQIDOy1 IG1ZPlvlHsex2xRNgLvVV2EqW9sDSxU3sogrVIWNz5N0vPk/jFqm/xYVSrZn8Pvk 2SaDFe7gUbMUoI06er3XSvUv4QPGaMAsYv788JMaV6OaPQvde/YmyT8z0aYEYdCk AELc18GkSpsniIfkQO62uYarXMTgekpV9Szx8A+mt7f5W97Ee6GwRjADsK/GQyZ/ OpHbVufCk3Yn/ONjt07Xgsu1d8nOvhEdO0s9DWHhf3A== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3K4tTEjJw5Sw for ; Sun, 16 Jul 2023 12:11:12 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R3Www0JPTzBHXgf; Sun, 16 Jul 2023 12:11:11 +0800 (CST) MIME-Version: 1.0 Date: Sun, 16 Jul 2023 12:11:11 +0800 From: wuyonggang001@208suo.com To: jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: hiddev: Modify Format In-Reply-To: <20230716040716.25980-1-zhanglibing@cdjrlc.com> References: <20230716040716.25980-1-zhanglibing@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <755134062a3e4f74ef781cb8593b0f1e@208suo.com> X-Sender: wuyonggang001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fix the following checkpatch error(s): ERROR: "inode * inode" should be "inode *inode" ERROR: "file * file" should be "file *file" Signed-off-by: Libing Zhang --- drivers/hid/usbhid/hiddev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) unsigned long flags; diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index 59cf3ddfdf78..581dc33197d0 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c @@ -213,7 +213,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;