Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1473367pxb; Wed, 2 Feb 2022 05:52:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5yvvqwG/2PWMYbPWZe+jUh/+9GqU3mfvtfQNsP4E5DzgVKinbeTQ52hTCygmasDtGgLAa X-Received: by 2002:a17:902:e74e:: with SMTP id p14mr17782324plf.161.1643809957461; Wed, 02 Feb 2022 05:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643809957; cv=none; d=google.com; s=arc-20160816; b=Up/Ox4+uTvRzZibs2nNzuT/7+8Q/6EqWFTojccUAf4JA1/XbIqmOPms7T1PsBeynBU qYBFlA9NbW2aHJHgultSyyPbG8N99wqSQiDazaG3+QHCBNJMJB3SOG5ZfLWNv/d/QgNp zvdS0r/WJ5/XJ60+E20UhcNDxzTuKelYToSrtBFLyxvMwPLcJu4jGRU3bpwEPgwwC51i 5UsLjDRjDtutzY8hwiU9KUaeeqly1XthCMUFUyF18XVt+/7ylKvsO+I3cy8y9zZ4a/b0 1skt+OJyOx/FtKYTb7kEVxD1HTYeILJMZUbnOEL8Yz47s2yE29rboqXoxOWEspw1uM6N 6blA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QFCR/1hC834owOFEy/yMpLb2HK8B3ZOJtDVT0ccY4sE=; b=Qr5w4wnD8Fx+07ZBkCkbVIMWloQWcQZ1IEVKftvM/DnF2Gxcns9pbaqfNt8QzFkem7 zg1f1HbinxKr4g2ojti0ZvVB5/vE/pnvYUjVGOjrGkD1YZujEdvGI2XYEJU+StDjDGBv tk/PgWa6DfOqQXrs9KMN+Dua3BNTo1G5m7/KtFRUZybCeL0wCbdUh1xFQ4u6Vd0Jpknf Zrjyed7Vq47HFi+FBbVjZctsOTrBRHRKmFo/Y3VmKcJGf74W6deryNZ3QCjv3+6xWk1D IrObohKT9FvYhZkQ3LO/fzePw/cYPrSc0KzGXM6zquLEEn+LMOVvZxFcRu+QXRbGDitZ sIHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YeXvcvuG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r197si2499669pfc.209.2022.02.02.05.52.24; Wed, 02 Feb 2022 05:52:37 -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=@gmail.com header.s=20210112 header.b=YeXvcvuG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239006AbiBASxn (ORCPT + 99 others); Tue, 1 Feb 2022 13:53:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231249AbiBASxm (ORCPT ); Tue, 1 Feb 2022 13:53:42 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6342DC06173B; Tue, 1 Feb 2022 10:53:42 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id q14-20020a05683022ce00b005a6162a1620so4372559otc.0; Tue, 01 Feb 2022 10:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QFCR/1hC834owOFEy/yMpLb2HK8B3ZOJtDVT0ccY4sE=; b=YeXvcvuG/NM5Pa8ySb9pUop7d5OOosVeHp9T5rc8MDxj8HRpTXe399YCyOi6Iv6+7R 13Nncd4WtVJya7qP1QdZZQil3xB121i+jYZdYp2FQ11mL8sS7XOEXei1YeWVCd35BGPg 3zCf4fEENpBz2BLbDzAdZq/a8M8pvXz7PxGRRCA1WLNvg2kojCG7q7A1sSAK3ohXSwm3 l40XAJVrH7plknYY/P3EZKQlaPmAAENi5hhXoU+shddmF6QwkO4ieIIG5BYqrzWKUt8q oQqzQU1Qtoj5j9NIvQ8/wBe/yNwgaHWz86WvxQK8/xyszi89W39SrkjNWVnYEg8zxj9W 3TZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QFCR/1hC834owOFEy/yMpLb2HK8B3ZOJtDVT0ccY4sE=; b=QgDs0TpANNTLOtV9VIG9Z1WAJyY4ZFH44XsJ9EzX2tikLjeyECdCJgDPd46yP3CyTY yEDBSP0aOCYlLvFWhWFeMWO14uxn8j/0W6TE6t9q7LNpsRsP/k8kgAFWMNu7XPQjQ9wK Y5EdyNuxMR5raZoHmyvptbg9fhiSPTlAsTP3pbePZj0JtNt5Ab3jhGzMC4dPbAci1x9U nCnhoAr+K42RzMCnUf4V00+RUeMF6Zqw4mrkRQp1yzMYLzFVe+T7qF4O7K9ICxO5szDl Rz4GD42B8Su0FD+HCOTXKNcFUCfOEhjL/28Vop7t7ASxNeirUxsfwe2qwTxSHvMmN7/a COhA== X-Gm-Message-State: AOAM533cd5qw+8RGIAxDPVpAvVkYpwXx7xxsPIwiw0zUnNRlayZpMVyh y0cWijhW29tXh1tiRMh6PdxOwSoxTdHkhmcmPkMxLW1a X-Received: by 2002:a9d:e94:: with SMTP id 20mr14796505otj.200.1643741621707; Tue, 01 Feb 2022 10:53:41 -0800 (PST) MIME-Version: 1.0 References: <20220201143201.1883c3aa@canb.auug.org.au> In-Reply-To: From: Alex Deucher Date: Tue, 1 Feb 2022 13:53:30 -0500 Message-ID: Subject: Re: linux-next: build failure after merge of the amdgpu tree To: "Limonciello, Mario" Cc: Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Go for it. I'll squash it into my next -next update. Alex On Tue, Feb 1, 2022 at 1:32 PM Limonciello, Mario wrote: > > Thanks for the fix. > > Alex if no concerns I'll push this patch from Stephen to > amd-staging-drm-next with my tag. > > On 1/31/2022 21:32, Stephen Rothwell wrote: > > Hi all, > > > > After merging the amdgpu tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:43: > > drivers/gpu/drm/amd/amdgpu/amdgpu.h: In function 'amdgpu_acpi_is_s3_active': > > drivers/gpu/drm/amd/amdgpu/amdgpu.h:1428:87: error: expected ';' before '}' token > > 1428 | static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false }; > > | ^~ > > | ; > > > > (and many more) > > > > Caused by commit > > > > 11bc42ea179d ("drm/amd: add support to check whether the system is set to s3") > > > > I have applied the following patch for today. > > > > From: Stephen Rothwell > > Date: Tue, 1 Feb 2022 14:24:40 +1100 > > Subject: [PATCH] drm/amd: fix semicolon positioning > > > > Fixes: 11bc42ea179d ("drm/amd: add support to check whether the system is set to s3") > > Signed-off-by: Stephen Rothwell > > Signed-off-by: Mario Limonciello > > > --- > > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > > index e61078cec072..2931c8ff4cc6 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > > @@ -1425,7 +1425,7 @@ bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev); > > bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev); > > #else > > static inline bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev) { return false; } > > -static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false }; > > +static inline bool amdgpu_acpi_is_s3_active(struct amdgpu_device *adev) { return false; } > > #endif > > > > int amdgpu_cs_find_mapping(struct amdgpu_cs_parser *parser, >