Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp613339pxb; Fri, 8 Jan 2021 13:22:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/uUPjvJsKugp85QR/GWKOGs6eRGY8ctlB0euv6w3/pdBgZgOUidrPY8DRLfhT+XC5PBb9 X-Received: by 2002:a17:906:27d1:: with SMTP id k17mr3955941ejc.325.1610140944902; Fri, 08 Jan 2021 13:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610140944; cv=none; d=google.com; s=arc-20160816; b=v45Z6yzq/SmX/rgbHYWzS6st0xT7rwCnJ0p/2YDD37QxnnaO+3C2bgmbmlj0/6lai7 JxD1i+ExByGN/T3FdzhZTOhCi2SM7FtNdhy3MZm4mJKSwJK2zKz2F/IO4wkfgxKGX01m e4xEAZAP6JMEl4Vl+umc5kSH7Giaz9bzLbXFvn6AqZF+rf+rvS4IoJ4ZNqRKvFtw5x1P Gzsq4IhwVsXuWLhfjvgCSHBveSOroFo6mZhmQX/q85f0RieUTDvpxXT77LK9cbM3xrAB yeTn6RKz/6Vsih55rthm/9cIYh0U7jjJNtC77UYxYEHMhYS5EThun/I8LuBpMjUBpxp/ QC8g== 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=xpKOTSO9z0/uA/jBdJXRuqf0OMCjnmCkNWQ+uc2BgYY=; b=W7Dh5T1h/C0AeGhdcRJPadi/w7Zshf4t+s9G438J7hAr9iZRj2tSOfJnfSC5usY37k 9dFfwu8lKjkNZb5t/WuEOW7urnhUKseOguyKDznj1km/yNZ6+MdEb6hyQVR56zfwiSEq m/oGfe6HqF0qI6oX72e32aPMW5kjC4qMAnaNRCqu/6J7wSocx+2EhruJx7/Yhj4qbetw ccyrrWxA/ZRjw3HHtTeIV/UaHX6BiKODFnyCBxpuKNkLOvKIDGxN5sULskqYSHIiz7X9 5vpHO0z8TJeMmcdObgic68XG1CF4hZd4fOaAawu6yUfPwTs8OtG6Va3RU2Js4PpTkxZ1 pdjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="VMpglM/K"; 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 l2si4076205ede.232.2021.01.08.13.22.01; Fri, 08 Jan 2021 13:22:24 -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="VMpglM/K"; 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 S1729331AbhAHVUb (ORCPT + 99 others); Fri, 8 Jan 2021 16:20:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbhAHVUb (ORCPT ); Fri, 8 Jan 2021 16:20:31 -0500 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D76C061574 for ; Fri, 8 Jan 2021 13:19:51 -0800 (PST) Received: by mail-ot1-x331.google.com with SMTP id n42so11024658ota.12 for ; Fri, 08 Jan 2021 13:19:51 -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=xpKOTSO9z0/uA/jBdJXRuqf0OMCjnmCkNWQ+uc2BgYY=; b=VMpglM/KLM6PpwbpnUURqHJ2NMGbf3vFOpVW2E8vqbPEk9W0drSgp5EE0ScKJ1e2mA yQ4HWIOVcE7pX47hfHHIR7KvxcfC5HoJSBS4I6OEPOEoq7/SNUuALIXJTAbTN6kN4T+2 A/OC38cvU/LeXdvxrIm6ltMSilr3xoTnCNHrwIWZmIfNXlPqzu4/gS5HIMITEnBOG/eT /PbK/uHbf4j9vUq9M5uvIeEi2+63SDJMFaF4gdiVN5AWdUwFvTXqrpG/MvvAUMcM3ZFp kAy6Cl7xr5kEESXN4oA+gT08/J5Lo7CaNgkvkJNUHosqWUM5sRaTfRFqkUUAWdNVN1rs YseA== 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=xpKOTSO9z0/uA/jBdJXRuqf0OMCjnmCkNWQ+uc2BgYY=; b=CH1nhrM6AMo1p+e14UCDa3MkRRylL0tKQzABkujzYdlVQSuN9+ddSnfDWOhhKnYKLi CMoOHvD2p3kGPESjLyLEPZpJPB6NtAwAv8mroi6bn7yTXagQLlkB/BHh8UqVtW7UzxxY jIXhnVcGOVUqFgDneK3Gixuhf+PjvpYlayvHle1DL85rHGKmrhzDdHiLKFJviSc9DUXm giaVHNU1D21fAKs6WVezZHixqWLnfb74EeoEt3CG+CIV48BsTxF1EOqcvev3305g/XRW WM/wUBTjhdtwfNeNwm5p4sKgS9p2vyakR7EyCfy4rP2XNfMny1xdbSnigZUj0BkrKDK4 mAng== X-Gm-Message-State: AOAM531elLq5N2O4ghiowKXMG+Rsw2DNjiDIe1oNsxQWc2J/tVNZEPJc hgpY6pRD5/Id2grWK6yp8kqcAjm9t3H7fmFmlGw= X-Received: by 2002:a9d:75d4:: with SMTP id c20mr3902944otl.311.1610140790582; Fri, 08 Jan 2021 13:19:50 -0800 (PST) MIME-Version: 1.0 References: <20210108201457.3078600-1-lee.jones@linaro.org> <20210108201457.3078600-32-lee.jones@linaro.org> In-Reply-To: <20210108201457.3078600-32-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 8 Jan 2021 16:19:39 -0500 Message-ID: Subject: Re: [PATCH 31/40] drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static 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 Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:427:6: warning: n= o previous prototype for =E2=80=98dce60_opp_set_clamping=E2=80=99 [-Wmissin= g-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:548:6: warning: n= o previous prototype for =E2=80=98dce60_opp_program_bit_depth_reduction=E2= =80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:571:6: warning: n= o previous prototype for =E2=80=98dce60_opp_program_clamping_and_pixel_enco= ding=E2=80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:681:6: warning: n= o previous prototype for =E2=80=98dce60_opp_program_fmt=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/dce/dce_opp.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_opp.c b/drivers/gpu/d= rm/amd/display/dc/dce/dce_opp.c > index e459ae65aaf76..2bf8f5a2e0c22 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce/dce_opp.c > +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_opp.c > @@ -424,7 +424,7 @@ void dce110_opp_set_clamping( > * 7 for programable > * 2) Enable clamp if Limited range requested > */ > -void dce60_opp_set_clamping( > +static void dce60_opp_set_clamping( > struct dce110_opp *opp110, > const struct clamping_and_pixel_encoding_params *params) > { > @@ -545,7 +545,7 @@ void dce110_opp_program_bit_depth_reduction( > } > > #if defined(CONFIG_DRM_AMD_DC_SI) > -void dce60_opp_program_bit_depth_reduction( > +static void dce60_opp_program_bit_depth_reduction( > struct output_pixel_processor *opp, > const struct bit_depth_reduction_params *params) > { > @@ -568,7 +568,7 @@ void dce110_opp_program_clamping_and_pixel_encoding( > } > > #if defined(CONFIG_DRM_AMD_DC_SI) > -void dce60_opp_program_clamping_and_pixel_encoding( > +static void dce60_opp_program_clamping_and_pixel_encoding( > struct output_pixel_processor *opp, > const struct clamping_and_pixel_encoding_params *params) > { > @@ -678,7 +678,7 @@ void dce110_opp_program_fmt( > } > > #if defined(CONFIG_DRM_AMD_DC_SI) > -void dce60_opp_program_fmt( > +static void dce60_opp_program_fmt( > struct output_pixel_processor *opp, > struct bit_depth_reduction_params *fmt_bit_depth, > struct clamping_and_pixel_encoding_params *clamping) > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel