Hi Qingwu Li,

On Thu, Jun 13 2024 at 09:07 +0200, LI Qingwu 
<qing-wu...@leica-geosystems.com.cn> wrote:
> From: Marco Felsch <m.fel...@pengutronix.de>
>
> Make the dir and base const.
>
> Upstream-Status: Pending

please drop the last line, it is only required in the context of a
Yocto-BSP.

Best regards
Ulrich


> Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
> ---
>  platsch.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platsch.c b/platsch.c
> index 535b589..1aaa8d5 100644
> --- a/platsch.c
> +++ b/platsch.c
> @@ -111,7 +111,7 @@ struct modeset_dev {
>       uint32_t crtc_id;
>  };
>  
> -void draw_buffer(struct modeset_dev *dev, char *dir, char *base)
> +void draw_buffer(struct modeset_dev *dev, const char *dir, const char *base)
>  {
>       int fd_src;
>       char filename[128];
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to