lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8b7d693-5008-49c4-883a-66e2f9a3c7b2@foss.st.com>
Date: Mon, 24 Jun 2024 16:42:05 +0200
From: Yannick FERTRE <yannick.fertre@...s.st.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
CC: <raphael.gallais-pou@...s.st.com>, <philippe.cornu@...s.st.com>,
        <maarten.lankhorst@...ux.intel.com>, <mripard@...nel.org>,
        <tzimmermann@...e.de>, <airlied@...il.com>, <daniel@...ll.ch>,
        <mcoquelin.stm32@...il.com>, <alexandre.torgue@...s.st.com>,
        <dri-devel@...ts.freedesktop.org>,
        <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
        Abaci
 Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] drm/stm: ltdc: Remove unused function plane_to_ltdc

Hi Jiapeng,

Thanks for the patch.

Acked-by: Yannick Fertre <yannick.fertre@...s.st.com>

Best regards


Le 24/06/2024 à 04:41, Jiapeng Chong a écrit :
> The function are defined in the ltdc.c file, but not called
> anywhere, so delete the unused function.
>
> drivers/gpu/drm/stm/ltdc.c:494:35: warning: unused function 'encoder_to_ltdc'.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9403
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
>   drivers/gpu/drm/stm/ltdc.c | 5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
> index 5576fdae4962..3f280155e25c 100644
> --- a/drivers/gpu/drm/stm/ltdc.c
> +++ b/drivers/gpu/drm/stm/ltdc.c
> @@ -491,11 +491,6 @@ static inline struct ltdc_device *plane_to_ltdc(struct drm_plane *plane)
>   	return (struct ltdc_device *)plane->dev->dev_private;
>   }
>   
> -static inline struct ltdc_device *encoder_to_ltdc(struct drm_encoder *enc)
> -{
> -	return (struct ltdc_device *)enc->dev->dev_private;
> -}
> -
>   static inline enum ltdc_pix_fmt to_ltdc_pixelformat(u32 drm_fmt)
>   {
>   	enum ltdc_pix_fmt pf;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ