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
Subject: [OSS-Tools] [PATCH platsch V4 1/4] platsch: constify draw_buffer
Date: Fri, 14 Jun 2024 11:23:05 +0200	[thread overview]
Message-ID: <20240614092308.1429018-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-14 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14  9:23 LI Qingwu [this message]
2024-06-14  9:23 ` [OSS-Tools] [PATCH platsch V4 2/4] convert to meson build LI Qingwu
2024-06-14 13:34   ` Philipp Zabel
2024-06-14  9:23 ` [OSS-Tools] [PATCH platsch V4 3/4] platsch: split into platsch and libplatsch LI Qingwu
2024-06-14 13:47   ` Philipp Zabel
2024-06-14  9:23 ` [OSS-Tools] [PATCH platsch V4 4/4] Add spinner executable for boot animation and text show LI Qingwu
2024-06-14 10:44   ` 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=20240614092308.1429018-1-Qing-wu.Li@leica-geosystems.com.cn \
    --to=qing-wu.li@leica-geosystems.com.cn \
    --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