Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp252525lqt; Thu, 6 Jun 2024 02:32:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzAsZpf7nGFTTt+2OgOav9W3IUroQ7k+OHaOguN54FeUT8bmtbnptJbceyeST5bPQycvS4tIWU3xNxnUNopN21xp12q59jBsViFpctcQ== X-Google-Smtp-Source: AGHT+IGXEcj6uPCD0ZYqcWKxqH472JWpm1XPSPEnrfsZdsrmQaR7ZZDUpN43Ol133FA0nS5g30/A X-Received: by 2002:a17:903:22c3:b0:1f6:782e:da23 with SMTP id d9443c01a7336-1f6a5a84e4emr63275015ad.63.1717666339807; Thu, 06 Jun 2024 02:32:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717666339; cv=pass; d=google.com; s=arc-20160816; b=HBlPyJLoUuAy3kzHJaA9pqplXqahDQcfMqOwTQzTTehNEQAtonVWen3/CCdU/7pEKI w/A9SFYUvEBAqhUYYnAVJP4XhzWrYbizIU74HIFeeVm4CsSApzdyS+1E6hfN9QfLHWMo TeR3v2hyCSDYV9WNwKzgIKU/Q9poAcPRb/ilIJtUJlGav9WCZIrN+nvk0mpVUD06PO/L rvbGkHTFU3LkgrjNVPKj5KuUhzBkU/XlON83QtZayms/oCJ/2QP0msgIukXHHOLsNrF8 QyPc/n4UsMw3/7d+ru/oLNGmHYVkhMue+Ps9awwMbuO177IhQV2xnS+Dm8qc4sEhfwED jpcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=iKmP3e3dtxf78IDAs/8rT++mEQGZ+Pkjv4VuEAnem08=; fh=f1sJpXm1NNqixoQotXeEy8B186084/rue2pwnHMGNvY=; b=hznqxNhijOxuPapNEu+6xme6HKER6LX1aaFjuoceceb2LhBGQx/SiK/z6f1X6EvD9p a5gyYw7oBH6WkKJxb2Q4b91Oo7WYSFS7VYKFtLsNtuJcrv8bdgZUUYMW9MMjKGd8nP6D hKfjN0K3asUK4HnBCUk0BMXUDi+Phin5OkCEhiu8FJjtdjXOU5Dzs+OILurr3i8NGT/G NGdvVXX5uwts7PrjkzdgLUmShW3mybqXlBQi1ZArHfnR421vvg4xXa1h7vwsC4Pb0qLh 3W2EvDTd6UOf3OdjAMojErrWaGE52MPSPXQ6a9H86K2L4GeVWcmLtEAcjqX2Vqc+XRfb MVFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=CzKPJEBf; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-204008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204008-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7f43bcsi7726515ad.496.2024.06.06.02.32.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=CzKPJEBf; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-204008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204008-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6720C2826A7 for ; Thu, 6 Jun 2024 09:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1020154450; Thu, 6 Jun 2024 09:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="CzKPJEBf" Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FD4A153BFF; Thu, 6 Jun 2024 09:30:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.112 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717666210; cv=none; b=ihQhS2mtEEQf+73zMmZKLBirDm4vL1yIItIsBMGoKpaoBBHvurk78U4Glmt6EA+WrqqiviaLsaQggocxJwxrXSdFNPXDmaA8fMoprZ7IfqMmyhvxy1GZGvowHfiMQJ25qPz6TcJ/kEvGZvSShNi7Nwfxo+DyOjWS5IxMjtOHK/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717666210; c=relaxed/simple; bh=gFxIz+bfTLeezODRMo79nwmNuUNYu7H1GJQorPLATSA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=R7e+Tz1uOhMXv1aAuriXMt6wBgKST5SxszHselmIUUOChZUYPJkHhTsQBZaO6BPcTY0FukynB7b0Ajh/FhFMT5lWzjCMMzCxf4elbikG7NqUf4Pt+A+LCnFZ28ExnZzDMHpQ24VE3SMfEzoO0RNEswXq/wVeMzSapk0tfziiOBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=CzKPJEBf; arc=none smtp.client-ip=115.124.30.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1717666205; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=iKmP3e3dtxf78IDAs/8rT++mEQGZ+Pkjv4VuEAnem08=; b=CzKPJEBfM9JDG/rMd7y49GioBNMN/79EZ0AFIVfaiNfEmXfGQYVXL3D9eiT4CBnHQxbgel/waRmuBBAC4vnQLma+Fx8+37Hcuc6Cky/UsiWSrjvFI/3p3Ot2LAGzBMm8WyTtC9rdWrozLep0VJKx8lVP36qJBDd0lhTlf1fjoUE= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045075189;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0W7xsJ.3_1717666197; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0W7xsJ.3_1717666197) by smtp.aliyun-inc.com; Thu, 06 Jun 2024 17:30:04 +0800 From: Jiapeng Chong To: jikos@kernel.org Cc: bentiss@kernel.org, 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, 6 Jun 2024 17:29:54 +0800 Message-Id: <20240606092954.91014-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit No functional modification involved. drivers/hid/hid-core.c:2780 hid_add_device() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9293 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 dc55f837d0c7..3cb0b7dd92a1 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2777,10 +2777,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