mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
To: Qing-wu.Li@leica-geosystems.com.cn, oss-tools@pengutronix.de,
	m.felsch@pengutronix.de
Cc: bsp-development.geo@leica-geosystems.com
Subject: [OSS-Tools] [PATCH platsch V6 1/5] platsch: constify draw_buffer
Date: Sun, 23 Jun 2024 13:54:03 +0200	[thread overview]
Message-ID: <20240623115407.983326-1-Qing-wu.Li@leica-geosystems.com.cn> (raw)

From: Marco Felsch <m.felsch@pengutronix.de>

Make the dir and base const.

Signed-off-by: Marco Felsch <m.felsch@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];
-- 
2.34.1




             reply	other threads:[~2024-06-26  8:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 11:54 LI Qingwu [this message]
2024-06-23 11:54 ` [OSS-Tools] [PATCH platsch V6 2/5] convert to meson build LI Qingwu
2024-06-23 11:54 ` [OSS-Tools] [PATCH platsch V6 3/5] platsch: split into platsch and libplatsch LI Qingwu
2024-06-23 11:54 ` [OSS-Tools] [PATCH platsch V6 4/5] Platsch: always fork child process LI Qingwu
2024-06-23 11:54 ` [OSS-Tools] [PATCH platsch V6 5/5] Add spinner executable for boot animation and text show LI Qingwu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240623115407.983326-1-Qing-wu.Li@leica-geosystems.com.cn \
    --to=qing-wu.li@leica-geosystems.com.cn \
    --cc=bsp-development.geo@leica-geosystems.com \
    --cc=m.felsch@pengutronix.de \
    --cc=oss-tools@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox