From f12898585cd3387fe9309a7aef28172170c8b2ed Mon Sep 17 00:00:00 2001 From: systemocto <129794872+systemocto@users.noreply.github.com> Date: Wed, 14 May 2025 14:21:02 +0200 Subject: [PATCH] correct version description in proc_show function Make the version description dynamic by using the VERSION_DESC string constant --- driver/ch343.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/ch343.c b/driver/ch343.c index f6c6125..340be94 100644 --- a/driver/ch343.c +++ b/driver/ch343.c @@ -1697,7 +1697,7 @@ static int ch343_proc_show(struct seq_file *m, void *v) int i; char tmp[40]; - seq_puts(m, "ch343serinfo:1.0 driver:1.8\n"); + seq_printf(m, "ch343serinfo:1.0 driver:%s\n", VERSION_DESC); for (i = 0; i < CH343_TTY_MINORS; ++i) { ch343 = ch343_get_by_index(i); if (!ch343)