Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp432828pxb; Thu, 14 Jan 2021 09:17:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVCmEMIuvi/XKbxtnuvtcHBZFlaog1Y5i6s7QGvCgpKHFqxtLtAHa3QC19g9wC7jnTkHpv X-Received: by 2002:a17:907:9d0:: with SMTP id bx16mr6343590ejc.426.1610644679528; Thu, 14 Jan 2021 09:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610644679; cv=none; d=google.com; s=arc-20160816; b=Ihff0kVHX3meJousZmWg7tYlP5WRbT9DDpbVLufLKh/LBxPaGAe4maXYGS4oZYKqqm BftViYnLeFqOa3irJm//kk9Wny1xSHyawIp9jBWiyGSeRhiGMUZS2L56jA2mK2Ppj0/Q BSZb975xqWojFpWFFzvPTwU79IQkbWckKg/B7DNWptNUqD3z7uDX7F6jsq9pogpHwfhS /UkdIUK67Yy+Ad0VO+mTUT7aoeTh3Fnpl/8bkW8CNE9kjmZx/5yqNHrvhsOYGoCrbgC0 7DDvpSI0NBHaIPUu6dLzIrdkmDgXPaMTt1zCWPdSvZxiM8xXNMVqmfu7Y2wpjdNwvJ7s g3Iw== 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=DZvV4C4oOxbUt8DFOQqdGw1qrGeev5cm2TlRav0Zgbg=; b=YUI2PQF0OgrXI0EXSin1nEm02dGVlM1yZlYDqFcNyIrJUR/Ld7yoIcuHfH4dOVv2vn 9ZAMlEWHNfoRoW2/8oz++2VUehdcd8HCeKv9gZAnJA8jm826fr4d2nIgkBPSbS9dw5hL KDw14T2ka0nOKrknt1yahpbDX77vNLXbHDeErY3Qk/55ZeYOF7xsIPZcIphltjUsdE9p c2Txe1PRU71dqyvudPQP/48IGMSdWCx3s5tSITIiE207fCyU1aafQWTo+ZAuybxLh2fY lJNBl9mUTl5ENa2jUWyfubwqk46kLkNEXY0ruqKWyNTUAYZZiTQrFgLwDI3l0HP5pn9o KGCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jm2eHceC; 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 g25si2862500edr.220.2021.01.14.09.17.35; Thu, 14 Jan 2021 09:17:59 -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=Jm2eHceC; 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 S1727171AbhANRQk (ORCPT + 99 others); Thu, 14 Jan 2021 12:16:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726110AbhANRQk (ORCPT ); Thu, 14 Jan 2021 12:16:40 -0500 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95407C061574 for ; Thu, 14 Jan 2021 09:15:59 -0800 (PST) Received: by mail-ot1-x32b.google.com with SMTP id n42so5819960ota.12 for ; Thu, 14 Jan 2021 09:15:59 -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=DZvV4C4oOxbUt8DFOQqdGw1qrGeev5cm2TlRav0Zgbg=; b=Jm2eHceCwQCHn1T1s2o2QxDhEZm8HGU1e+A6qmoo/h0EI4XLjZcGq2ufqEi91NgF7Y Q/TTXh3JtWB4ZGLpYnHkP+8BCUSvfunQOps/a+FZnQpyhK68gRKptoZk7dFr67VqSWlV 7WC/5JYUfehMVvAdEX2pDEa23whOfu8Hp70Y2HvB8AkBR1WUlypA+/eUesJsZrUAOwRo xpfOBXu5yz3pm+ZxY17bMHuQGW55lxlc1RnN/jNVMVdf+NhTr0rmAnuvY9LQtMFrQPjo zI7LPHGC4Gk59WfeiUKFU0RkZU4ZsZZewqnQBtLMtm0V3tTUXykPg13703H6qC35w5mw Twuw== 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=DZvV4C4oOxbUt8DFOQqdGw1qrGeev5cm2TlRav0Zgbg=; b=pcCdJkJpGRH6PUOpOiITJmRJFF+osKtb56XVuGh5Gf3uVykXQ1sDfKjqSKPk6KPW+s QKyE0COiGfPLuyjuhTlH2BkrboL1xyjOsDkAZDFpqeGqBAqwB0u9rBQrvlx/pUUGz7Gp RKAgLkDmUT3d7EMNxzH5Gri2iCwgr4YwGipHVRdoK+RIvNWPrRnXqP96RMYSwQwSnrrM /dTyiGLoRoCk6wy4s6YVIWWLKlzGpzr2luFTVuTa4aavfvo64GMgRBTuKTBw2/aUDyHO 1/aYShDfUEd6MQQV4qQlmMskQPX8msapeLuN74EVUPw8B3csSJlmeO3Jy18OzVmQs47V 3THw== X-Gm-Message-State: AOAM530+2UrG6oZBhCji9Zn1gRB2SkxxR6F2jzAgBIj/hvRtKQgIbexJ QT75X8orFqJozwxnTK2NalAtQECQdY5fBB5pi1M= X-Received: by 2002:a9d:2ac2:: with SMTP id e60mr5208415otb.23.1610644557590; Thu, 14 Jan 2021 09:15:57 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-18-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-18-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:15:46 -0500 Message-ID: Subject: Re: [PATCH 17/30] drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes To: Lee Jones Cc: Leo Li , Mauro Rossi , 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 Wed, Jan 13, 2021 at 3:08 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1115:23:= warning: no previous prototype for =E2=80=98dce60_create_resource_pool=E2= =80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1312:23:= warning: no previous prototype for =E2=80=98dce61_create_resource_pool=E2= =80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1505:23:= warning: no previous prototype for =E2=80=98dce64_create_resource_pool=E2= =80=99 [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Mauro Rossi > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c b/driv= ers/gpu/drm/amd/display/dc/dce60/dce60_resource.c > index 64f4a0da146bf..dcfa0a3efa00d 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c > @@ -60,6 +60,8 @@ > #include "dce/dce_i2c.h" > /* TODO remove this include */ > > +#include "dce60_resource.h" > + > #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT > #include "gmc/gmc_6_0_d.h" > #include "gmc/gmc_6_0_sh_mask.h" > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel