Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1000117pxj; Fri, 21 May 2021 04:14:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5E9mtbmRC7SLQMe+bKlhArbA4b2QAwdUkdZQl2djM+Tfhnkhh6iGLLFbnmbkY4jkzk9t4 X-Received: by 2002:a17:906:1185:: with SMTP id n5mr9831677eja.342.1621595695379; Fri, 21 May 2021 04:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621595695; cv=none; d=google.com; s=arc-20160816; b=NCjseSaasBfI0obUQA4NuUApJesIILvz7e7Pf4tYn5zUnJML0uFs0kLL7PiP/gKNGj wbLvTATqQ188Tr0o1ImAfEyGdrwMNA4MgUJixygjO3gIb6pHQK09JE/zAdJzZrXyzJSR OAVQGms0TXmdMIUdNoe1jQOWeq9MiMaIJ563ZLPj/13XmKopBOp4HEgD0CuBq8sB82c7 BeDznTxbYK5DYZzV1jBVYG6bJ/8W2WjbGRmuT/bE7YxQvwWPz683lxpFWSfnwbdwnbTb S7qPucl6qQCrsxOw/WlhFFk1sqLTXdzAMGcB4gyHQQ3lB0+mGtPiybxLwodQ46fAfZNV Ox7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=G86mvFEb9wVuXDqr4nxAwWdA/QLiCFPbsCTmKmgSxpo=; b=ArTU1IAPkfdoi95q12xN9gLDGeS2ib+q2QLmkvEzEErWQE2+ju9SIWGGu4IXG5rD/U YrqebQPqfb7zAyqXW+EEAEbHNlNNdZ+AcirheHQSRKxdCFMdwfKO+8ps0MHT8TEtB90E /nZ0U8Ke2O/jCb/y/IK9oT/ofGuQp5yoBP0C6C6XFwykOzRIeRjtVYnDvhJ+U7pxzJMF chLWWJnmBlWtndoy24nqHJeaicGSZj37UyYW+7cwh5LNGeJY2QudWb7yiYhkQEetL/67 kNgBJkVk8V/RvtX2V1WfE4QjBWVwXinMo3WBj8qdgfHY1554c2Loubpmiej1fqIMHOPu tVmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si1497045ejs.216.2021.05.21.04.14.31; Fri, 21 May 2021 04:14:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236891AbhEUJnM (ORCPT + 99 others); Fri, 21 May 2021 05:43:12 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:33296 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbhEUJnC (ORCPT ); Fri, 21 May 2021 05:43:02 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UZbK3Mc_1621590093; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UZbK3Mc_1621590093) by smtp.aliyun-inc.com(127.0.0.1); Fri, 21 May 2021 17:41:38 +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 Subject: [PATCH] HID: hid-core: Fix inconsistent indenting Date: Fri, 21 May 2021 17:41:31 +0800 Message-Id: <1621590091-68247-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the follow smatch warning: drivers/hid/hid-core.c:2406 hid_add_device() warn: inconsistent indenting. Reported-by: Abaci Robot 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 0d4f068..d1d86e4 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2403,10 +2403,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 -- 1.8.3.1