Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1445149
| From | Xinliang Liu <xinliang.liu@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] drm/hisilicon: Fix non static symbol warning |
| Date | 2016-07-18 03:30 +0200 |
| Message-ID | <rW5xE-82F-7@gated-at.bofh.it> (permalink) |
| References | <rUrLY-38m-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 13 July 2016 at 20:43, <weiyj_lk@163.com> wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Fixes the following sparse warning:
>
> drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c:107:5: warning:
> symbol 'ade_get_channel_formats' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Thanks, applied to drm-hisilicon-next.
> ---
> drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> index 805f432..2a913cc 100644
> --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> @@ -104,7 +104,7 @@ static const u32 channel_formats1[] = {
> DRM_FORMAT_ABGR8888
> };
>
> -u32 ade_get_channel_formats(u8 ch, const u32 **formats)
> +static u32 ade_get_channel_formats(u8 ch, const u32 **formats)
> {
> switch (ch) {
> case ADE_CH1:
>
>
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH -next] drm/hisilicon: Fix non static symbol warning weiyj_lk@163.com - 2016-07-13 14:50 +0200 Re: [PATCH -next] drm/hisilicon: Fix non static symbol warning Xinliang Liu <xinliang.liu@linaro.org> - 2016-07-18 03:30 +0200
csiph-web