Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1253407pxf; Fri, 19 Mar 2021 02:58:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMVB+Vahmu6vXa+/x6n5nYPMyg36Bz12nu8Ry++TwuyfNfJ0oJM4vcEW1JBvh3tIh9w0a4 X-Received: by 2002:a17:906:819:: with SMTP id e25mr3410825ejd.292.1616147925698; Fri, 19 Mar 2021 02:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616147925; cv=none; d=google.com; s=arc-20160816; b=M5VhyKuNtkRf5+8oWAqpCIl2UWiY98iZBacW3ejyUXQKH6Zqe0N3ESr/hOnvdrGt3z W4TgptSy28MCZgHbwXPORhi3QI1gHtMa1//RfAMclBLSqT8ipb3pIp9FG6KQQ5JJYiuf 45X8b7Vtm4sHvDtKN+VLnMKM0VLJ3BhS+2R3K27TkNjgc39opccfvN64T1BWXtIOj/uo FwWi5IkZJDfociRSgRS0UZ9QuEYL4VlQY9/xJGlFc8Pe40ZiAryNiXiuecxK5l+OzjVO iYWfwYMMBmBrGdWjwWMPAS1wTzuqVnnzKtmhZ3FAcaUtwrbFi5rmgM3bufWbL0Fim7Ax riUQ== 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=ysOGQ+JuPnyfkvsyXVUk/A0GgAxeDgtK3Jp6pwQPGCg=; b=X4eR0i2b8SH8oPxHdY/xFx2tYBawPXpCpwHjRaJ4lmBCN9MCTf6ZQ/IuMHldVKLj/Y er6Z6WbgrmCR05uLSzaCZO65B9kjjJzAq12pcIX9iDL4PNEW5NjO+4E5cUyhm1jl7V55 NMlmdoncO5Hh5GSEHRgHF5w/BAGZuv/R2pGbPNvL5igdxgQm6f/i1B7uXJlH//ptGPEr k92B2tkFDiIr9j8+5QS5L/vujZv6u3Jh+ZeTb+8A1amm7qMNKsszGoxpC9Gcw4kVuMzZ FCAkxCWO5ksEopmgwzb8IkaP1AFxKA0sNHhc1KA0CZ/m0t5A4ENKFW5ZZjCHfhMwgX3W BOsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Kdh5s9X3; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si3910689edd.558.2021.03.19.02.58.22; Fri, 19 Mar 2021 02:58:45 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=Kdh5s9X3; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbhCSJ5O (ORCPT + 99 others); Fri, 19 Mar 2021 05:57:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45614 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbhCSJ4o (ORCPT ); Fri, 19 Mar 2021 05:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616147803; 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=ysOGQ+JuPnyfkvsyXVUk/A0GgAxeDgtK3Jp6pwQPGCg=; b=Kdh5s9X3t+h7meJi+EJu21uDo/2+ETeiUUaa6s+QXuYs8mDFq34mO/ZhuW3G8V8n4+KDS0 g5ULmVaZNeLGrUTcXFR9rZ1lNmLR6qRrzLyCozozoR3FyULamnm3kMlEwlCKR86ERDt1QV c9vtZ7iDd0vBx4hMGqNcsHbv4b1BBNY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-271-x6fs_XrMOC2Xm5V4rmziZA-1; Fri, 19 Mar 2021 05:56:42 -0400 X-MC-Unique: x6fs_XrMOC2Xm5V4rmziZA-1 Received: by mail-wm1-f70.google.com with SMTP id s192so12695788wme.6 for ; Fri, 19 Mar 2021 02:56:42 -0700 (PDT) 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=ysOGQ+JuPnyfkvsyXVUk/A0GgAxeDgtK3Jp6pwQPGCg=; b=JmLxA4pmEAHp/KKj8hMVUxuxs76Iw3S96NmSPMdQrFRzeNxNA5Db6AwmG2TCdJW0z2 1/CxBxCI7qyODK6P7sb64ECBTc4mGYTNrF8dJEg0bjRG6EcUWkjo8wYzz6l2EqLhqXQM H8ourm97EDpe1VZ62uchaCn3elhZVJ9y5e2dCWPTzMAXIF2r5O/EQGB8mKtzYAy4PrsC EtKa6Wg2YBodiZ3Bay2xt7u3zkgiBhiFfo8Upt9vSh7o+EYzE2oi7uJ3AYV92Ch57CDq Cfa+5aTTQHueEDyD3yUeKq5uhkxhgzQHBleHx49xCmHoMmItmFEZcRtVmabOBJKC8P25 AlCQ== X-Gm-Message-State: AOAM532ZvZvU9EgUEpwfk/fvuUG3Z+wTszCcMPJl2wpc7IXZCAUhz1lG OK9OyHwbLWG+noYe6J5MhQ8tW9fYhWKuNJvT22+hBs6Y2NgnBsb9I0QEUXjg8yO57AnG9RRxt6F tU9ABdbftzSoolA+ZNXi2ARBhTXx3gzsulAjvEGxj X-Received: by 2002:a1c:ddc6:: with SMTP id u189mr3001416wmg.171.1616147800804; Fri, 19 Mar 2021 02:56:40 -0700 (PDT) X-Received: by 2002:a1c:ddc6:: with SMTP id u189mr3001400wmg.171.1616147800686; Fri, 19 Mar 2021 02:56:40 -0700 (PDT) MIME-Version: 1.0 References: <20210319082428.3294591-1-lee.jones@linaro.org> <20210319082428.3294591-16-lee.jones@linaro.org> In-Reply-To: <20210319082428.3294591-16-lee.jones@linaro.org> From: Karol Herbst Date: Fri, 19 Mar 2021 10:56:29 +0100 Message-ID: Subject: Re: [PATCH 15/19] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions To: Lee Jones Cc: David Airlie , nouveau , LKML , dri-devel , Ben Skeggs 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 Fri, Mar 19, 2021 at 9:25 AM Lee Jones wrote: > > Fixes the following build error: > > drivers/gpu/drm/nouveau/dispnv50/disp.c:2530:1: error: conflicting types= for =E2=80=98nv50_display_fini=E2=80=99 > In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: > drivers/gpu/drm/nouveau/nv50_display.h:36:6: note: previous declaration = of =E2=80=98nv50_display_fini=E2=80=99 was her > In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: > drivers/gpu/drm/nouveau/nv50_display.h:35:6: note: previous declaration = of =E2=80=98nv50_display_init=E2=80=99 was here > drivers/gpu/drm/nouveau/dispnv50/disp.c:2581:1: error: static declaratio= n of =E2=80=98nv50_display_destroy=E2=80=99 follows non-static declaration > In file included from drivers/gpu/drm/nouveau/dispnv50/disp.c:71: > drivers/gpu/drm/nouveau/nv50_display.h:34:6: note: previous declaration = of =E2=80=98nv50_display_destroy=E2=80=99 was here > > Cc: Ben Skeggs > Cc: David Airlie > Cc: Daniel Vetter > Cc: dri-devel@lists.freedesktop.org > Cc: nouveau@lists.freedesktop.org > Signed-off-by: Lee Jones > --- > drivers/gpu/drm/nouveau/nv50_display.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nou= veau/nv50_display.h > index fbd3b15583bc8..2421401d12636 100644 > --- a/drivers/gpu/drm/nouveau/nv50_display.h > +++ b/drivers/gpu/drm/nouveau/nv50_display.h > @@ -31,7 +31,4 @@ > #include "nouveau_reg.h" > > int nv50_display_create(struct drm_device *); > -void nv50_display_destroy(struct drm_device *); > -int nv50_display_init(struct drm_device *); > -void nv50_display_fini(struct drm_device *); > #endif /* __NV50_DISPLAY_H__ */ > -- > 2.27.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Karol Herbst