mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: LI Qingwu <[email protected]>
To: [email protected], [email protected],
	[email protected]
Cc: [email protected]
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: <[email protected]> (raw)

From: Marco Felsch <[email protected]>

Make the dir and base const.

Signed-off-by: Marco Felsch <[email protected]>
---
 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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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
OSZAR »