Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp27270pxb; Tue, 12 Jan 2021 18:58:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxid/xUU6FWe2Oo4d7k3zqp9cwiMzkHZ4TMhjfXHQC5ihp8pyTM3IQnpXq8xdt2PLfK+Ain X-Received: by 2002:a17:906:3c11:: with SMTP id h17mr17304ejg.20.1610506698159; Tue, 12 Jan 2021 18:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610506698; cv=none; d=google.com; s=arc-20160816; b=Gyr0MdJ7yJcORoH9gphXrRFaDswBz4RDNzKc+uwCZL6je1elqddL7XcEzhVW0VhYXi Z2bmhGEiV4g7c0QeVrPTZpkeHZE7qzCrk2sVp/Bpk9EbBrsTmLsnYruLSrbRs7bZAOHG 3zWXa8A5fDuPiB4JQhpoxUUjkSRhHkNzgk/Ls38h52TCseVP69U5BaGhEP6k3yZOGrIR MopO9sA9TEiquCEk1c1J1Gh6qu8sZE7yhiNBi92FZ3+wkoOxq25chQIOJAsSpzVEUmQh FucJPJm+nJI1M6p+wMPEk98C5GLhsqJVXb+pgKaSTDv8tepEI/ed8rmuvJuG0EdTgAAg t7Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/H028Wwjfvv9ucACM/DZ/rVBlomdfpbrk8WUZizz2Vs=; b=kKOjMGDivJiBBUGVTQmGLmzA+xQPn2QUHHM6vaLKJZ/8HmtQ/nBfeXzNEaYaKuc73n wUSQTlkhrGQHPD60boHjxUSdKInV/IIJ45r0HxvOPMgqO1HCrTgEtEcHvXx83CZqCiTA H2CFn0ftWSrP7CQCy6fsGtH/FAR32oDvPbRPiK2t94jDCqiyPVZw8dD6H9+U8iMVEyZK QDM8H2GD4GeHadAQ5ZJdYFJ8xbtve21uzyfDujYn18NBjFHMrLjl7BI/PNdewcQWEW3C BMXsDye/UijjeTkpI6+KM0pZrh1FeimsZxX3sSnkYGBSFz9QMjKO1MqsK5K0ic9xKBZn 9YLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aHzNGV51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si317742edb.217.2021.01.12.18.57.54; Tue, 12 Jan 2021 18:58:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aHzNGV51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2390085AbhALWE3 (ORCPT + 99 others); Tue, 12 Jan 2021 17:04:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393964AbhALWEM (ORCPT ); Tue, 12 Jan 2021 17:04:12 -0500 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D909BC061575 for ; Tue, 12 Jan 2021 14:03:31 -0800 (PST) Received: by mail-oi1-x22c.google.com with SMTP id x13so4020502oic.5 for ; Tue, 12 Jan 2021 14:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/H028Wwjfvv9ucACM/DZ/rVBlomdfpbrk8WUZizz2Vs=; b=aHzNGV51B70g68q+osW4guQZlA2SPBmfpEfOkq7fZkXQoakwzlr6xu6YhmCMjJnjkM VtqaetZFw7ntjVk3o8watdpn0CN9ObBziXNCLskyRTcv3ylwFfov+alT8XTKxCsbdm7k 30NfnkHx0zYv8zD2AIpj0jLPRkt4W9Wor2BAIbgaPWwRMWHsh4xit369viFPJ9GYuRcM 0cd5LBcwNAYsQt5AFcp4xqa87LhvbXLukxjkG3nXDUAGYQicqCUo/J9aZy4KsUrH5g8x WlGyqSIaUV9liOnpvvUzHrW3WtEDSor/Re56fdaUbgg0fRWxgsHhqBfaW0j5NB9ivZ19 6uqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/H028Wwjfvv9ucACM/DZ/rVBlomdfpbrk8WUZizz2Vs=; b=cYsaWycAtEsLRPpKfQ0dqGeEBtfnx3c93t3OhyIQ2bzFTU2sG0v9VAQGQAWRH77HkI YUbQVcA4CwpTSI9RE6PwKoI5kdtn6sUdE/TzOyoU7/VOk5EJuALKeJqmNexEU50x5rdd FG1xs7TUeCkWgMsMBFO2NktuiMo0EkYOT5DxIhQeUQilJJQQByUWdAsQpJHi6Ylpi1HW uewbO8EZm+4Wa+HqyI4EPlvfUWQz9xUPOU/UmbTpxWs5EowkV858LewsC32XicoWoRN6 F68upmZO+xUbRPdWCIzGA6pQdnuSEEsWrfIT74Nd8ZoXno9AEh7D5yNDKLctEnIaWw0q qqiA== X-Gm-Message-State: AOAM531E3VJ8n+0u677QQnsVsyiY48MGC2ZgWvFyqwUtCjNhkDFzqjoP yV6aqI0xPY7yJIHXGSY9RikbVtkn5h9vP4Rscfs= X-Received: by 2002:aca:4f97:: with SMTP id d145mr760461oib.123.1610489011339; Tue, 12 Jan 2021 14:03:31 -0800 (PST) MIME-Version: 1.0 References: <20210111191926.3688443-1-lee.jones@linaro.org> <20210111191926.3688443-9-lee.jones@linaro.org> In-Reply-To: <20210111191926.3688443-9-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 12 Jan 2021 17:03:20 -0500 Message-ID: Subject: Re: [PATCH 08/40] drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Fix struct declared inside parameter list error To: Lee Jones Cc: Leo Li , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 2:19 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:43: warning: =E2=80=98struct hw_factory=E2=80=99 declared inside par= ameter list will not be visible outside of this definition or declaration > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:6: note: previous declaration of =E2=80=98dal_hw_factory_diag_fpga_i= nit=E2=80=99 was here > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:43: warning: =E2=80=98struct hw_factory=E2=80=99 declared inside par= ameter list will not be visible outside of this definition or declaration > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:6: note: previous declaration of =E2=80=98dal_hw_factory_diag_fpga_i= nit=E2=80=99 was here > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:43: warning: =E2=80=98struct hw_factory=E2=80=99 declared inside par= ameter list will not be visible outside of this definition or declaration > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_dia= g.h:30:6: note: previous declaration of =E2=80=98dal_hw_factory_diag_fpga_i= nit=E2=80=99 was here > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > .../gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_d= iag.h b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.h > index 8a74f6adb8eee..bf68eb1d9a1d2 100644 > --- a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.h > +++ b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.h > @@ -26,6 +26,8 @@ > #ifndef __DAL_HW_FACTORY_DIAG_FPGA_H__ > #define __DAL_HW_FACTORY_DIAG_FPGA_H__ > > +struct hw_factory; > + > /* Initialize HW factory function pointers and pin info */ > void dal_hw_factory_diag_fpga_init(struct hw_factory *factory); > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel