Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp377253pxm; Wed, 2 Mar 2022 17:47:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfVY2XhzHHmuzX2dhvx2786i+GGFvOYjzrYegn3eq+h+vusCYTozoRAFdPYjN1dbUk6wUh X-Received: by 2002:a63:202:0:b0:37c:4cfc:b89f with SMTP id 2-20020a630202000000b0037c4cfcb89fmr2266514pgc.396.1646272042012; Wed, 02 Mar 2022 17:47:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646272042; cv=none; d=google.com; s=arc-20160816; b=OxhPzIlguj/QtWP02MbYMAuR+FgmkKmxJAQzjwLBYALHkM6XcYWC74krZzZhv7pJuE yMwSVXR3IkvSXWqBWNaHxg27pcYNplCIUeixVHcBv8XH6XXfb7BRvcl2cSLisrhx9miK jiltGmhb+uUx/FfFRvi29LCNvRydduVKMImRfWq/U36ETYL/aN1h32CX69GKhZW6u6K1 EUZNQkcR9XAE0o1GAbXg5xc24DYPBccx330SrVQI2De29vIqu5u9iosveURfqySTlrB2 2Ufv4nRIxlREtuuWlWW21C6LOnhh9wsjbRZ/GoXjxSrhbwncSEpwiuepu3rlj0mnscj0 Vtuw== 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=W3+l+3GI1YzCanMPyDOh/3lQFz7fs540QPmE4C58e8A=; b=tlECW7PI6ScLXWFuuYOswpsUdXRh6ajuXKAsjPsUvOEGAD2BURVZeHc6Y6Q/X8CN/Q VpOYL0aTr9b9Z5j4zhHtp2GxiRrXjX1vydt2y4dq2mL9A+pZjfI3HcX7XWRzhwzvtB3I 3c4UJAkCdtgCE+vn9tRDAJh2X7usakxoxYT8Jywi/EfPZGhwaTGgUs1xElKMfdVyDHwS yGRPwVHNqYIeIL5mhidCWntoi5oMphQIeEWzAD9XMnnMEDj5tsKHWY1pK/4XqnTUgplg PzD7bOz/OAmPqHAH+0BfKDNhL4d3H874i3Hh7vkUx/Q/UvRHP0Ghyg1dVN7rgTHNnNMs VonQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v26-20020a63b95a000000b003759850f44esi715814pgo.235.2022.03.02.17.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 17:47:22 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 069B21B6E05; Wed, 2 Mar 2022 17:47:19 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbiCCBr7 (ORCPT + 99 others); Wed, 2 Mar 2022 20:47:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiCCBrz (ORCPT ); Wed, 2 Mar 2022 20:47:55 -0500 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 074B81B6E34; Wed, 2 Mar 2022 17:47:09 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R491e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V650W6L_1646272026; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V650W6L_1646272026) by smtp.aliyun-inc.com(127.0.0.1); Thu, 03 Mar 2022 09:47:07 +0800 From: Yang Li To: jikos@kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] HID: core: clean up some inconsistent indenting Date: Thu, 3 Mar 2022 09:47:05 +0800 Message-Id: <20220303014705.88875-1-yang.lee@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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Eliminate the follow smatch warning: drivers/hid/hid-core.c:2711 hid_add_device() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li --- 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 db925794fbe6..2c4fd8cf1c1e 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2708,10 +2708,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