Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2049389pxb; Sat, 14 Nov 2020 11:13:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzj1GyDpm8uAP+fzMemN67rBIkPRN4LmF3wHYcvvg1CUUXNB6YT7EmcxQathrqjv7MYbhL8 X-Received: by 2002:a17:906:4495:: with SMTP id y21mr8024097ejo.209.1605381228670; Sat, 14 Nov 2020 11:13:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605381228; cv=none; d=google.com; s=arc-20160816; b=V4TdQEU2Rehu6PMZF97UdxA5dGefyPRyJ3LkaRdn7WDxiZnRfSDvp2QdZ0pfAZb/Ch VdlDJKNz/o5U8Noh4cCKorXx1K8g3ek4EHeWcRI0uafPKTl1fmnI6WFEkZaG4LnCUjnv XlL0upyKMAHNawWnVAgqLIErs1V542iUMdZEPRQfq2b0GHzfXK194G7Dc1trbb+sLLAJ DEroIn7D4oJ3CA/0a3UzMfQ7SgnvDWXQXf+AoBisTWLLAMndLpVK2qc/R5q3BnFkdZWQ lJV8/Wzdv2zLbmzoIFG5f5AsBqZ2tNtHWIUUMTcJc1aCfedeFSj30qxhBxgtlf0M2MKP 2IQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sUUr+xTNAP2DxlPxqecKetDNeVPLSzkuMr+pECWHPUY=; b=RSOShGl1AX7Fehw6d6zsZHiiMQkpp4wKPwyIC7YV5FOMeeSP6f43SMUnBURJf0b5ze vqNmb0i2iwXQQ2+nwgOc9tI5uvduiLC2ONeZoBqZCpZRXGaGzQDMRsn0FTRTtqWcP2wR vxeFdwrqGvXd99aY4AzWeGSZGMR4SpFnKI1T+yTK8VVRIPp6EdoOpHFD1f04nRiq+IRe HN8xQqVLHiwX5fuDzlOtw45fzLn3X0wDRaTrcs7yfTw6LDhrWhOHNQ66Xfolvw0C+DOT Tp5ickUahsPT4XrGjU672ej3M6HrVq+D8tc9b7nbAS/UtTjDfv9W1TV9puMfMPVLx28x x8gQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si8097635ejy.662.2020.11.14.11.13.24; Sat, 14 Nov 2020 11:13:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726177AbgKNTLc (ORCPT + 99 others); Sat, 14 Nov 2020 14:11:32 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:54958 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbgKNTLb (ORCPT ); Sat, 14 Nov 2020 14:11:31 -0500 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id D60F080560; Sat, 14 Nov 2020 20:11:28 +0100 (CET) Date: Sat, 14 Nov 2020 20:11:27 +0100 From: Sam Ravnborg To: Lee Jones , Eric Anholt Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/40] drm/pl111/pl111_display: Make local function static Message-ID: <20201114191127.GB3797389@ravnborg.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> <20201113134938.4004947-13-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201113134938.4004947-13-lee.jones@linaro.org> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VafZwmh9 c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=IkcTkHD0fZMA:10 a=-VAfIpHNAAAA:8 a=e5mUnYsNAAAA:8 a=KKAkSRfTAAAA:8 a=Cwvp4g05kwjmXd1pErQA:9 a=QEXdDO2ut3YA:10 a=srlwD-8ojaedGGhPAyx8:22 a=Vxmtnl_E_bksehYqCbjh:22 a=cvBusfyB2V15izCimMoJ:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On Fri, Nov 13, 2020 at 01:49:10PM +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/pl111/pl111_display.c:356:6: warning: no previous prototype for ‘pl111_display_disable’ [-Wmissing-prototypes] > > Cc: Eric Anholt > Cc: David Airlie > Cc: Daniel Vetter > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Eric's was not copied on this or the other pl111 patch. Added Eric so he can be aware of this fix. Sam > --- > drivers/gpu/drm/pl111/pl111_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c > index b3e8697cafcf1..69c02e7c82b7e 100644 > --- a/drivers/gpu/drm/pl111/pl111_display.c > +++ b/drivers/gpu/drm/pl111/pl111_display.c > @@ -353,7 +353,7 @@ static void pl111_display_enable(struct drm_simple_display_pipe *pipe, > drm_crtc_vblank_on(crtc); > } > > -void pl111_display_disable(struct drm_simple_display_pipe *pipe) > +static void pl111_display_disable(struct drm_simple_display_pipe *pipe) > { > struct drm_crtc *crtc = &pipe->crtc; > struct drm_device *drm = crtc->dev; > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel