Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp39728rdb; Wed, 29 Nov 2023 19:13:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRKW5p35IBoTFCVV09k6+lafsU2ISgTk/k6gul1xjpfFpT6tQxuEnKFb11HH2gb2DJveNT X-Received: by 2002:a05:6808:1489:b0:3b2:e61f:f0a8 with SMTP id e9-20020a056808148900b003b2e61ff0a8mr23952609oiw.45.1701314023632; Wed, 29 Nov 2023 19:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701314023; cv=none; d=google.com; s=arc-20160816; b=ur1xv5wdjZ3RyTw/KbGrsAJwnkpkez8GTTb/dndCFhhYlRhCuUGcqxavi8FN1ilY1P d3CoizkuyaAhfmH1aVUrcQBpXLl8bGPlRBq+uuPp1rHd6bXg83C5YA0f3sujYu4UFbqv cqGLWVHWxA8SggKUeNhAiwThqaoHYV+TF8iRgk8KPiBHj+5w6UT5DK4AOtK05twuR4BV CBpOBeHEZxPsBu+KhtOPmUY9wkaC95jB3vAnijVOxL+c4laNNBgTZYnApw+wvOvVgRzS ZbejCE2neUuRUhvXK6UxnjMSi6AhjvM724rd/oXUcy0wWQgHL967SjQrXRnyAQwTFK+I u89g== 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=U1DVq+xLJ7sebIMPtVr5x2d2fNU3PYzCF6Gxr3BNVYM=; fh=2djJXRLqnhZXi9uExMoB7fGiApeclVXEojo4YHNi35U=; b=td141HqWf9B0FDWizAWMvPJJt8kXWWgdjCExQnZ9MIQy9YzqUXLbnS3UDuO8YY+TBR M7YVqDgThaHqBeqM94CvdvQZvDEU7P78VgiiR/lmiqxb6PZvukc/UM9g/XupxGi5hDOS cy30FUTvTNq88pELkuOaIo06bhFeQ2Rlw7oQMLdsyQofEjP/9UvnvmhigCxL6BHAaKr4 YWbi/d66Ce0ZRFV8CdvBaoApVWUvwHdTaPUbwXylw5+rQcOd1ZSNv+DC4CeDY5W2bSws KIBGeuOdLgA/CxoXEqhphpwncLrbuFIT/Q1l2itdy0xR/6qioytKeHslizlplcHEfWX5 7ANg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id g10-20020a656cca000000b005c624afc0f3si321816pgw.698.2023.11.29.19.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 19:13:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 589B3803B73E; Wed, 29 Nov 2023 19:13:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231600AbjK3DNX (ORCPT + 99 others); Wed, 29 Nov 2023 22:13:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230393AbjK3DNW (ORCPT ); Wed, 29 Nov 2023 22:13:22 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79E241A6; Wed, 29 Nov 2023 19:13:28 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R401e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VxPttaU_1701314000; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VxPttaU_1701314000) by smtp.aliyun-inc.com; Thu, 30 Nov 2023 11:13:26 +0800 From: Jiapeng Chong To: jikos@kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] HID: core: clean up some inconsistent indenting Date: Thu, 30 Nov 2023 11:13:18 +0800 Message-Id: <20231130031318.59033-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 29 Nov 2023 19:13:40 -0800 (PST) No functional modification involved. drivers/hid/hid-core.c:2781 hid_add_device() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7664 Signed-off-by: Jiapeng Chong --- 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 e0181218ad85..249107b6c863 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2778,10 +2778,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.20.1.7.g153144c