Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7284987rwi; Mon, 24 Oct 2022 12:21:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48iFGn/rRHAirfxyu5ZONwxPM4FLFghwe7Cbhqj4cwZ/DqJK6F5MvwYTjFW1LIaJGWa0vM X-Received: by 2002:a17:907:2c44:b0:7a9:6e50:4c42 with SMTP id hf4-20020a1709072c4400b007a96e504c42mr4278464ejc.768.1666639298663; Mon, 24 Oct 2022 12:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666639298; cv=none; d=google.com; s=arc-20160816; b=DfzugkUQm2OvaoawztS/t2Q17CQWmWTZdNS2M0TeNkC5OzEuDUyvLfxSETljxefr1K DRisv0xmvw/XMcFZSPWnp1sHBKCUHH/BG74wMAlL+P5Z5D4VhA//stbxQTSPv8Bn4RJ9 QLaD/De4h0kW7hEN/BGIZ+Ev5quwVaoA6xN/aXeSkJasSl51aQlKfG6u8nO8qGbyNuNe L/J2X9aUPl7SDQk/MqDyL18GN04kCeJc1id8/M0+q5CGcl7UohGUSCi7eu0zckdwKUMj Cup51/pA0sq5HTgYwHZ7OnG8bREJFoCeA8XE9BK2qzG6tl8YKbP1ZF4INwWGnHUjVrUB Nunw== 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=61ONWJblhKykTdnnWFJPLzFrI2GgQTtZLaYgVl5PSEo=; b=NHUHKtQduO+NLmxdo10XX+jSsv5mJokyibVGlo9OGnKQKeDZezmxzzCmx35CVadKOL TP1DLJoHKnNA1cwhjAZX7Kh2AsFmtt1eVu/1/nPdW+IKEZNwKqQZnEXo+1pdwXKShG3M xEGBCWbOpQgO5X/PRjPwyOZwU1Re4wZpZH1sQ4wFKMcnHKUZ1XLWV83+If2NwDxZPL0K FtXT/Kodof/yYJfhUkkrRyzQ5lOz+o+h1X6/SP5hWZhR8IY5qUQJj4s1KVAXU3wEBjnF hRfO/JrQPiF5dKqdHRMk6YMrty7w9DKyBXJ+pqcY8V0Xa7/Y91ZwtR8Y8fuuFU9wEFAd ZoUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I6aBRlSc; 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 e5-20020a17090658c500b0078e18bd3073si499335ejs.820.2022.10.24.12.21.12; Mon, 24 Oct 2022 12:21:38 -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=I6aBRlSc; 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 S232710AbiJXSu6 (ORCPT + 99 others); Mon, 24 Oct 2022 14:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232646AbiJXSui (ORCPT ); Mon, 24 Oct 2022 14:50:38 -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 AE2A920882B for ; Mon, 24 Oct 2022 10:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666632618; 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=61ONWJblhKykTdnnWFJPLzFrI2GgQTtZLaYgVl5PSEo=; b=I6aBRlScGPM8UqT5DEMYmDK2PSNwD35AKP25GfU+H+zSew1zdWOcFpw6pohGEF9j6byyji FeVFB8sgYLZPnD4NvMjoPVyy8+meJ457CNx6n0p/DdSfHfrDjOwNfb3EBh5lrIk0MFdPRV xfEz8CVZBCHZEG+cek1sjLdLv9cY/oo= 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.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-595-v7GTVUkUPBq6Ec7QhQIVVw-1; Mon, 24 Oct 2022 10:06:50 -0400 X-MC-Unique: v7GTVUkUPBq6Ec7QhQIVVw-1 Received: by mail-ed1-f72.google.com with SMTP id s8-20020a056402520800b0045cab560d5eso9798650edd.1 for ; Mon, 24 Oct 2022 07:06:50 -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:message-id:reply-to; bh=61ONWJblhKykTdnnWFJPLzFrI2GgQTtZLaYgVl5PSEo=; b=QFcVLBar2PGr3CAK3W0hwuZkdRt853AYKnegConcwlH7z6xE2xBSLHe7UP/6vYQxBg CimAemp9CK++PlogTjXg3GPu++oo23hnoIiOk45BgADwz3rd8T+0a+gaGlVW9lQFuaGS 84CHq0FtzM/dvWeSOW2yg7Liq93RrGPtP234DO7b2SnqLWd3OcH0H8VhbbA7AezH0142 1T3edJvlWm8SZWg2frkg9z7XUjZshC19aGHPnfAOPc7jvXYsR34zvqFnaYdAqO97u1+8 xXfsLhG/mlct5amtY2tzWl3ziU9vDdJkTQRLLLL9CkUOZpq8bTZ2wsOTuNdqJ2NxyIBf yBYQ== X-Gm-Message-State: ACrzQf3KQY8rDr9YiDTuclivgEe+q/8bnV/4m6p9xOA5jZcoWWuefnWX wlW6bhFXMWraA0jt5+u5ZhRp1rxyZesSszktzkGfsCFlP8Pq68A0aYQKRYTawLDP8VkA9NTO8kY uJ+ZE4aJu43FY8iXifB/RqOGU X-Received: by 2002:a17:906:9b83:b0:730:b3ae:343 with SMTP id dd3-20020a1709069b8300b00730b3ae0343mr28814887ejc.670.1666620408960; Mon, 24 Oct 2022 07:06:48 -0700 (PDT) X-Received: by 2002:a17:906:9b83:b0:730:b3ae:343 with SMTP id dd3-20020a1709069b8300b00730b3ae0343mr28814872ejc.670.1666620408733; Mon, 24 Oct 2022 07:06:48 -0700 (PDT) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id dn2-20020a05640222e200b00459cf672a65sm18655822edb.71.2022.10.24.07.06.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 07:06:48 -0700 (PDT) Message-ID: Date: Mon, 24 Oct 2022 16:06:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.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: <20221008070411.51859-1-jiapeng.chong@linux.alibaba.com> From: Hans de Goede In-Reply-To: <20221008070411.51859-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 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_NONE,RCVD_IN_MSPIKE_H2,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 10/8/22 09:04, 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 This patch does not apply: [hans@x1 platform-drivers-x86]$ git am -s ~/1.eml Applying: acerhdf: remove unneeded semicolon error: patch failed: drivers/platform/x86/acerhdf.c:341 error: drivers/platform/x86/acerhdf.c: patch does not apply Patch failed at 0001 acerhdf: remove unneeded semicolon hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Please make sure that you base this on the latest version of the acerhdf code from: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next Regards, Hans > --- > 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 1956469c3457..6cf7f2a8a074 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;