Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1022029rwb; Tue, 27 Sep 2022 07:30:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MwEk0JQWs1ePJLlA5xaUdMXEwE6Sl6KYOjNJxwSqynTUGHtyE7d1UPx1/BSazo4d5rXqn X-Received: by 2002:a05:6402:40d1:b0:44f:e974:f981 with SMTP id z17-20020a05640240d100b0044fe974f981mr28383390edb.222.1664289023459; Tue, 27 Sep 2022 07:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664289023; cv=none; d=google.com; s=arc-20160816; b=HTnN4pv3cQEwmk8AbeWfZtzcqNqP/8a2FVUgczlpC+psjsVTGAFq+fQHBAXo8x+4Te WEb4Lbj6FQbaBaHSF4SSA5ORaNhIRKjHb1A0P55X5t30EuuAIHrsz59qtVepUMYeOZXa kySJrAZhueRbTj6G6EBgy78z0bgTKQ5YE2glsK+mNl+N9gDqg3gHydXhGVHUfgl0biYY P0JKSGCo8pbVIDahLQofbAXy6p5IosEiAzmJleGr81pMDx5Xs7IwIaIk7luZNnsBlX/o QKW7VBWSl+VN+/SWD5j2gRBIjZ12o/u4/1QNSM8JUmqORCxake2cahiN2iivAgkWDdzZ hNHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Mx4jE3ECEvBhJZF2XERwRargEjDaO4M7Q9H1iSbdaLI=; b=dT6lbKW1JL6kTFr/8/7CEa4cODky9J1meLFw1dunarI9hkOgmXTKBKRTyabhO2EOHO /o8arnjqydH/SsmtYcXMqIFl7HzjCV6UiMcWP/E5SfOEqfPfrqjKUOTx+X4VRzG1WK2j oG3jsHEZ2BF5X/vCfkTu46NYaLzhQu9uwU8Jtm5kgD07Kl8bheTzt5PM7n/pFy+NONTT Hbm0xgLTvvMyRhibxCzC0kTVW9VQuTyvg8UKq4QHPBt6neQH4oEozs1/JD+mWdy3k++6 HKiU7s/TnU1e64KCx9oFnM7AmUwKhxT1PWY9MHakM9XGXJ6ZAwuLyPGCJgHYTTHxoQj+ 6tsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HL0NlU1H; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga26-20020a1709070c1a00b007417a74299fsi1974292ejc.773.2022.09.27.07.29.56; Tue, 27 Sep 2022 07:30:23 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=HL0NlU1H; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232333AbiI0OUW (ORCPT + 99 others); Tue, 27 Sep 2022 10:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbiI0OUA (ORCPT ); Tue, 27 Sep 2022 10:20:00 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 191DFA74C5 for ; Tue, 27 Sep 2022 07:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664288383; 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=Mx4jE3ECEvBhJZF2XERwRargEjDaO4M7Q9H1iSbdaLI=; b=HL0NlU1HrgJ54mjn0BE/aP1SyAB+FEi+o7upr3PxJ+ZA+xvUoPleRFmO4+7PzSUviW1ksL bFxlrXZxJcbikIWF9ANFNf0AVygtIwa4COkfteQAkbuGw2+jctFVw847L4t0Bdmh9PLlye /3txAtRI2frVw0lC2pq+Ztiel6PlKTs= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-475-vK8qOWw9M3SEVfqAvBnKpA-1; Tue, 27 Sep 2022 10:19:42 -0400 X-MC-Unique: vK8qOWw9M3SEVfqAvBnKpA-1 Received: by mail-ed1-f69.google.com with SMTP id c6-20020a05640227c600b004521382116dso8047835ede.22 for ; Tue, 27 Sep 2022 07:19:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Mx4jE3ECEvBhJZF2XERwRargEjDaO4M7Q9H1iSbdaLI=; b=C8U9uyretvJdLCrZQm4zM9P4HBcix4LhVVbTh0cstQ2Buw59Hi3TAOwqJbtNnk9nPP JUl+QJO3DX/twu4SnoTvUHYRMV4nF6n5dOS0+301aAs/y8+x8BSsLfnY2TsEhZkg//W+ xFAEZZGHa66Gnn1vZWWIjujgu/3D+hnr2Qref8nz/4LZ6JWwN6Tw8nnhCzjm/zvRrh+M 9bmU663tcRVC6MGNh7LQqeJfgXChmNCH52CDzDp/MDzSsuUHyN0IhYv6O1JBlH41bqxg Qmds3b+nRYwOx5ELcdjfJrWYsyzKt6atatV37Tt67gRUCAHNWohiUfgvOT2yc3/cUhji 5CPg== X-Gm-Message-State: ACrzQf16HNm230YuUPs2R4odP6ZkdYpF1ZulToUo4tLEOJMhoDLUemFM Ky7WSzaDT7TCMgkOlTh8dciSa1vCz3rsMcyOplw5di0MC5mnD812XIg1wKaS+4Uuaf0b4S0BMXP sl5baMk7V9JCZLeERwzUEE1ig X-Received: by 2002:a05:6402:4311:b0:451:c437:a5a9 with SMTP id m17-20020a056402431100b00451c437a5a9mr26869836edc.272.1664288381543; Tue, 27 Sep 2022 07:19:41 -0700 (PDT) X-Received: by 2002:a05:6402:4311:b0:451:c437:a5a9 with SMTP id m17-20020a056402431100b00451c437a5a9mr26869819edc.272.1664288381331; Tue, 27 Sep 2022 07:19:41 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id q18-20020a17090676d200b0077f324979absm873812ejn.67.2022.09.27.07.19.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 07:19:40 -0700 (PDT) Message-ID: <9036da27-32aa-8ae3-9221-45b988d37266@redhat.com> Date: Tue, 27 Sep 2022 16:19:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH] acerhdf: remove unneeded semicolon Content-Language: en-US To: Jiapeng Chong , peter@piie.net Cc: markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20220926033311.84765-1-jiapeng.chong@linux.alibaba.com> From: Hans de Goede In-Reply-To: <20220926033311.84765-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 Hi, On 9/26/22 05:33, Jiapeng Chong wrote: > ./drivers/platform/x86/acerhdf.c:344:2-3: Unneeded semicolon. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2271 > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/platform/x86/acerhdf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c > index a7407aa032ba..b48c6c5da147 100644 > --- a/drivers/platform/x86/acerhdf.c > +++ b/drivers/platform/x86/acerhdf.c > @@ -341,7 +341,7 @@ static void acerhdf_check_param(struct thermal_zone_device *thermal) > pr_err("fanoff temperature (%d) is above fanon temperature (%d), clamping to %d\n", > fanoff, fanon, fanon); > fanoff = fanon; > - }; > + } > > trips[0].temperature = fanon; > trips[0].hysteresis = fanon - fanoff; This patch does not apply on my current for-next branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next I guess that this might be based on the thermal-zone changes which are going upstream for 6.1 through another tree. Please rebase + resend this once 6.1-rc1 is out. Regards, Hans