Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B531C433FE for ; Thu, 25 Nov 2021 15:38:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355787AbhKYPlW (ORCPT ); Thu, 25 Nov 2021 10:41:22 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:31321 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354569AbhKYPjV (ORCPT ); Thu, 25 Nov 2021 10:39:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637854569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eX6dSHlu3Ns8F5BZbs69kb/zi1atkpX8NZ3CQ8zoWh4=; b=CiTNCUopPmTHywGH/DiStxeV8ag34btyXNKII0z/lCJSZVUs40Awm+QPopXN9K+OG/zWTy s3pENRL5PjZD7fNCBNJDqnbLCbXNb0jEWW1R2BPmuV2e+4Io3m8aYAJy3/X2vwPES9d4QP DUBH7GKywstRqW+7eqMVyyPSy19ZJVI= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-556-_i-j26FSNzqC89g32c5Ofw-1; Thu, 25 Nov 2021 10:36:08 -0500 X-MC-Unique: _i-j26FSNzqC89g32c5Ofw-1 Received: by mail-ed1-f72.google.com with SMTP id n11-20020aa7c68b000000b003e7d68e9874so5792094edq.8 for ; Thu, 25 Nov 2021 07:36:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=eX6dSHlu3Ns8F5BZbs69kb/zi1atkpX8NZ3CQ8zoWh4=; b=oZ/Or8D25uanjRQvSfQvyzWOmUcnPufvTg9rLAivfz0jN9hPja2/6Hxt4eVyTmjlyP XV7oThfg67zUYd9BLs85D09y6cltcTGdNixROgrJMYSKZ76IhGnHhJT3i1nDdrGS8pcu 9mBdmpf3owRLKOvlaBpfAJcyEJKkEb2IQwcJ1mkgPMdrI0rg24KHuKjHLu+YBnoBYHpS 2qS4tvABNcrUmG3uK9V0/o199um12DLhpQi3HGy2TLGEr8HTPKKL6Em26GIQJtXmW8n8 XxFKoYixD9TjGuPAAN0iN0T/0482FCh1ByqkZB0lsftYZrBywRW9/AJPUEPGEgsmEVy5 WQhg== X-Gm-Message-State: AOAM532RSNJcCydYyI28dJdXnapHCg3A73t9RWc54f/0ooBaBjfNtuxn d8DjgdQLP1cbROeC80rQMlo5YKlx03vU1Hmsn1VNQm/xAQDAHKu2J3EDhwlxuW69rgm7O1yxCBu 0+Gy3aTXu7vcAG+Hmq9w1TxrW X-Received: by 2002:a05:6402:50cf:: with SMTP id h15mr39308765edb.90.1637854567541; Thu, 25 Nov 2021 07:36:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIcaSNOlMTT2I/ucmwCR5UkZ3asJaJo5x1mzxdh8r8ZE5v5cBBKVNJUksjqk0dqJgW3j+S9g== X-Received: by 2002:a05:6402:50cf:: with SMTP id h15mr39308741edb.90.1637854567402; Thu, 25 Nov 2021 07:36:07 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:1054:9d19:e0f0:8214? (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id mc3sm1714623ejb.24.2021.11.25.07.36.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Nov 2021 07:36:07 -0800 (PST) Message-ID: Date: Thu, 25 Nov 2021 16:36:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH -next] asus-wmi: remove unneeded semicolon Content-Language: en-US To: Yang Li , corentin.chary@gmail.com Cc: markgross@kernel.org, acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <1637719332-45224-1-git-send-email-yang.lee@linux.alibaba.com> From: Hans de Goede In-Reply-To: <1637719332-45224-1-git-send-email-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 11/24/21 03:02, Yang Li wrote: > Eliminate the following coccicheck warning: > ./drivers/platform/x86/asus-wmi.c:2386:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > drivers/platform/x86/asus-wmi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c > index ab0c087..6fa4b0b 100644 > --- a/drivers/platform/x86/asus-wmi.c > +++ b/drivers/platform/x86/asus-wmi.c > @@ -2383,7 +2383,7 @@ static ssize_t fan_curve_enable_store(struct device *dev, > break; > default: > return -EINVAL; > - }; > + } > > if (data->enabled) { > err = fan_curve_write(asus, data); >