Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2070331rwb; Sun, 14 Aug 2022 20:37:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JssaQXHgzFOTUsxvNR9bx7AyuX9zWO6EqcfyzLYavGS/FHHA3aRQBzf3r7M9d/I4mJFYo X-Received: by 2002:a05:6a00:9a7:b0:52d:bbf9:c3d5 with SMTP id u39-20020a056a0009a700b0052dbbf9c3d5mr14397671pfg.9.1660534633701; Sun, 14 Aug 2022 20:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660534633; cv=none; d=google.com; s=arc-20160816; b=ItFmQ3Ji6OT7RmXsL4Nu8/q7q3XdWV3TAwkbBg8/nQfJoEVL/08351PUtNoVJsF8hi tpHd3iyMGHNT/vfpqPJBU82OK9FvDFGj90lwQfN1NAAyA116tPUR7am1X9v3CK5XjfPv eOtFK3Jt3qrso5LqEihvj11AYtIPLwAi7k01z7JrMEPPoCYJQrDKJGRaRc5hoko0Sbr/ SRbIKF2ctCFGxD8fNZzk7p1xYRQuphNWE5/JBCiXbP4/VfX1g1jwV2Ib0wKJ8L2sJGyZ XcjpqQ9owbEIrdmyKXnQmEAuf4GwV+r3+/Y0NXSuSdrlHdbSBTsKesK+VJMgm21h8uhS 1COg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OjoJoPT0hkzNYBXKU94pV6vv+KNREqMnJlgxsHzAudo=; b=ExS6d9pDfOtweKNF3RCmRNjJbCFs+kLZkgg3eVQp7dSc4LKo+EZERtp4XZb+rI1k7W omJOegKR9+/Q86R2fHN2o/Mb6ri8q7FEFTJIQpMTYSIACuyskUmq3HAfds6tpULqjIP3 cw2XC9WkPzqNOfgQvRGlfxokMAjrDjApdnVW6GQ4MimAe5c7H3dadazWH08/nbo8ny7G nJsT2KQavMf/4Sdyek/79JlVPoCG6hta1Ep7nF6Jrqsk1nWWqixCKL93tH98U7BBalVW zAzXTaq9xMEHc/WwNjMjEr7xMC1AA/Kze9ropn1xYLMmlO+9DgWQsG9CMcQGUeJfRATG 14JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gf23-20020a17090ac7d700b001ecd30c59c3si8705404pjb.85.2022.08.14.20.37.02; Sun, 14 Aug 2022 20:37:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229480AbiHODad (ORCPT + 99 others); Sun, 14 Aug 2022 23:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbiHODac (ORCPT ); Sun, 14 Aug 2022 23:30:32 -0400 Received: from hust.edu.cn (unknown [202.114.0.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38D0D637A; Sun, 14 Aug 2022 20:30:26 -0700 (PDT) Received: from localhost.localdomain ([172.16.0.254]) (user=dzm91@hust.edu.cn mech=LOGIN bits=0) by mx1.hust.edu.cn with ESMTP id 27F3TtMr003473-27F3TtMu003473 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Aug 2022 11:30:01 +0800 From: Dongliang Mu To: Jiri Kosina , Benjamin Tissoires Cc: Dongliang Mu , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers: hid: fix indentation issue Date: Mon, 15 Aug 2022 11:29:06 +0800 Message-Id: <20220815032906.508250-1-dzm91@hust.edu.cn> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-FEAS-AUTH-USER: dzm91@hust.edu.cn X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dongliang Mu Fix indenting issue reported by Smatch Signed-off-by: Dongliang Mu --- drivers/hid/hid-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index b7f5566e338d..83f8554f7cb0 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2712,10 +2712,10 @@ int hid_add_device(struct hid_device *hdev) /* * Check for the mandatory transport channel. */ - if (!hdev->ll_driver->raw_request) { + if (!hdev->ll_driver->raw_request) { hid_err(hdev, "transport driver missing .raw_request()\n"); return -EINVAL; - } + } /* * Read the device report descriptor once and use as template -- 2.35.1