Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp232189rdh; Mon, 18 Dec 2023 18:11:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7N7GChA3ypstXAlIZxQchK7F5FzHGu3cHtaYnHtt7CwfV0ot/j4hUsJTpaLSelzUPzqME X-Received: by 2002:a05:6a00:d56:b0:6d7:fadf:3181 with SMTP id n22-20020a056a000d5600b006d7fadf3181mr1318411pfv.17.1702951869832; Mon, 18 Dec 2023 18:11:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702951869; cv=none; d=google.com; s=arc-20160816; b=lfIBNF8X6Otl7DwIJELR3AvDCBgsDdSE4XGZIMvhL8txuuVgLlCSjsoL+hzOucN7Db wPC+oCszZuF5WAJ9yTdUwuStpo1LQNF4zHp2m8T1qTPMv3sY0oD4g1+p1YgTFDY52+N0 oWgowjhHuKu8XfueKZ/UsPL+yI1er+thY+hyrNH25H+3r+vtD56DvHZnVSi62LDBLWMR ZLlnquagf7yd6NT5cBgKlbSfrEpqTGj4fDHk0m64hU0FUm5Ua3mYSHEDOFW29E+c3FXQ LexUCaJ56M67SozeHDye5da1brYzdUdemZqcQDxw8ZMJMFQhzxIjbcQEhmOkNfF8Amd0 Yo7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:message-id:references:in-reply-to:subject:cc:to:from :date:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=o0/an4JLoBy6ZGiSNhJfIYsgD5HBecZioCSamrEdvKk=; fh=3g6IKnKmJAX0yclMJC+7u8HBOyK8TirXmdON2GrQxI8=; b=gMhabjmhkVz5K164g62GZhrFiDmRjfZN/nRL0i9aTpboYUaBVpMTpYT8h5m048FKNI ggA14Mxy4Q9RtYQ6hnzvqK9W6WMrkM9WamWs/oIQvigGZyvXy1WewZIjaBKCgJRr7M5Z c1wpNR2MqGNcAZ6EUYDB/HfGhqbdW7nAKG1BKt8w/t3+LNgk2vwlYcH5thxjSpnL4Ru/ kQFsPUU2kTYozljm+b7u0CSUR5ge+5hZs+FNYoLrSFLEsor6O7mUMnZJSLslldFbNKrG XogUR02lslh2J4iSZYQMQPKEV53QLHUWXN7LvA1V0vGRO5G0jzr+kMmZ6ZIR0lKPIxy3 959g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=KDGx26C2; spf=pass (google.com: domain of linux-kernel+bounces-4579-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id kq8-20020a056a004b0800b0069026fd5a48si18442665pfb.34.2023.12.18.18.11.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 18:11:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4579-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=KDGx26C2; spf=pass (google.com: domain of linux-kernel+bounces-4579-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0C779B23BBC for ; Tue, 19 Dec 2023 02:11:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF0204401; Tue, 19 Dec 2023 02:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="KDGx26C2" X-Original-To: linux-kernel@vger.kernel.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27011187F; Tue, 19 Dec 2023 02:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from mail.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DC18286EF3; Tue, 19 Dec 2023 03:10:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1702951846; bh=o0/an4JLoBy6ZGiSNhJfIYsgD5HBecZioCSamrEdvKk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KDGx26C2iWbstqsg1stE34+Q/3S3yBZNuK9b5YgBNMqzFsy4oCnuJncQE+VoFCpE4 Ff7RBASnXU6h2UCSKa9HMZquGbHf05xmn6JfIQcsVaigeTumwCbxezkp5bIpm0X/E1 kn6uPo9+nogDgrGMmhOu949PI9JcK5tvZzQfUkTrR+vvugPV4yTMzfTFcfJpYiCp29 QOISXc1o7HIx1VO6Z9RVthgBOQjrtfq0FgGfpQOiouTXTBoqB7Nx0odJwfynesdLMw 7vvnZaHMiSvzJTT49GzoV1PqQlTj58WCyR+XdISkM3IBufEj2WtKVZAez3C88hqs3U 4AqXX7RQbeVgg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Dec 2023 23:10:45 -0300 From: Fabio Estevam To: Stephen Rothwell Cc: Daniel Lezcano , Zhang Rui , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the thermal tree In-Reply-To: <20231219103457.4e034e9a@canb.auug.org.au> References: <20231219103457.4e034e9a@canb.auug.org.au> Message-ID: <68012fb93e0057f62c03a5d9b01237c4@denx.de> X-Sender: festevam@denx.de User-Agent: Roundcube Webmail/1.3.6 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Stephen, On 18/12/2023 20:34, Stephen Rothwell wrote: > Hi all, > > After merging the thermal tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ERROR: modpost: "__hw_protection_shutdown" > [drivers/platform/chrome/cros_ec_lpcs.ko] undefined! > > Caused by commit > > 726edaad90f6 ("thermal/core: Prepare for introduction of thermal > reboot") Thanks for reporting. Daniel, Could you please squash the following fix to the commit above? diff --git a/kernel/reboot.c b/kernel/reboot.c index 07eb6537ed8b..f814568525f1 100644 --- a/kernel/reboot.c +++ b/kernel/reboot.c @@ -1002,6 +1002,7 @@ void __hw_protection_shutdown(const char *reason, int ms_until_forced, bool shut if (shutdown) orderly_poweroff(true); } +EXPORT_SYMBOL_GPL(__hw_protection_shutdown); static int __init reboot_setup(char *str) { x86_64 allmodconfig builds successfully with this change. Thanks, Fabio Estevam