Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp948446pxb; Wed, 16 Feb 2022 07:45:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwP+gnce+PtpDDMjsXeh0qqO3wpIjZNrpiOKGruf1h6uvfLLZmL62yxHMron+/lUCSD8cuO X-Received: by 2002:a17:906:eb03:b0:6cd:7cc2:a677 with SMTP id mb3-20020a170906eb0300b006cd7cc2a677mr2821781ejb.208.1645026352471; Wed, 16 Feb 2022 07:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645026352; cv=none; d=google.com; s=arc-20160816; b=r62S2Tu5/p6d5xbEdio7hcINX1p2Z+DSx/L83LwxAG2fWwa/E9ilBnHop9foEb7q9l wawzhFvKh4Kj80VLKmxNBAypu0MVZqb/PFdbQ8NFC+gJhBWtfvSmtPqKk0jlfpT/3Qy/ iavcUVv+KDuoXAE8Yt/tr9EGefJrjWc10UOh9azH8bqDmT3WbD6DR7sNezb1lvtLvDag sXNPfWSoNvYvklBXq8rDVhxLu5H4q7WhH2Wcajb9Yik58NkPvwjmMakasHsGwx7jnXgd bD+dtO1SWmVGpzB2qD1ppX/A6IEBHme3oR/7djrakJx90T2otBt69fQKK31eNyyJEdR6 ek+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=TOASFDl+CNrrf9JJZrrvzTX7eo6svVDbBniVCIpmPao=; b=YANMxD5HTDNIvWbwlzEpK31uu48pQS0/0gVLXdITe6UBbsktKnTldI2/Nb9iLfFow1 kEfIKB9AGW/QAktwHQpjMrnA/j29f5+MIKMSz1I2fIESibWzgOHH0mFvfVgSYL4cN7qD uYN5sDa8VZOsE/C9shm9ux/QUoP0LQ2Wphu1V0WVLvLv9+iRDjbP6T5rSejvySZUb3OX ybRMGNxwL9RvOLE18Wpt0H26VGKqSPuQPX6jv1NVAugxncdZkXgVe2onnC0y8a8eVDos jbcN+yI/SgkYrETVu1J3VrPZ0JqWn19iGTjzjK+XYPqzu1eFtCPQ9pKxKaKYSJ7Wz3su bCxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dg3sua0K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bl20si32569ejb.907.2022.02.16.07.45.27; Wed, 16 Feb 2022 07:45:52 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dg3sua0K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234242AbiBPPax (ORCPT + 99 others); Wed, 16 Feb 2022 10:30:53 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232213AbiBPPaw (ORCPT ); Wed, 16 Feb 2022 10:30:52 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ABE425A94C; Wed, 16 Feb 2022 07:30:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 487BDB81F21; Wed, 16 Feb 2022 15:30:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFE45C004E1; Wed, 16 Feb 2022 15:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645025437; bh=jgVEEH3eNg0tOO+7PuDSL8BiWihVKmlQ7WkA5FiJu0w=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=dg3sua0KUzO571dyptHOqjuqrFYjizmZzSMGR/6M6f9vj/KXQrhv0MhOZF0ZNsdQA uAYDOtWhVFkEm5MxQDlB48+a++0Tdm3J0i0O9kaoUIwg4xdeFhXB9tNZ15oE1wFPOd sRrbPwwGSS3GwfbC3tjHtAAKgVR34ME46Zc6tpHRs1mgITeKEviiZdG0GoL6u1lA20 q9KOyM15ToCJWfBw+Rv20HzCxK4FNaNf/gjC8uvzOPaerDiOkQfyzRvtthPv/juoZZ 63zeNwbaabz+w4uQPkd6xbFVVtNSv7hxvRwlziYTfvZSTB4dwoB4UQzcvwERK8coEV jnQ8YTTS/pSVg== Date: Wed, 16 Feb 2022 16:30:34 +0100 (CET) From: Jiri Kosina To: Yang Li cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH -next] HID: i2c-hid: remove unneeded semicolon In-Reply-To: <20220216015042.113021-1-yang.lee@linux.alibaba.com> Message-ID: References: <20220216015042.113021-1-yang.lee@linux.alibaba.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 On Wed, 16 Feb 2022, Yang Li wrote: > Eliminate the following coccicheck warning: > ./drivers/hid/i2c-hid/i2c-hid-core.c:357:56-57: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/hid/i2c-hid/i2c-hid-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c > index 91b2fa0d33c7..c078f09a2318 100644 > --- a/drivers/hid/i2c-hid/i2c-hid-core.c > +++ b/drivers/hid/i2c-hid/i2c-hid-core.c > @@ -354,7 +354,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid, > * With simple "send report" all data goes into the output > * register. > */ > - *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;; > + *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; > length += sizeof(__le16); > } Thanks, that was me fat-fingering the fixup in the original patch. Applied. -- Jiri Kosina SUSE Labs