|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen stable-4.19] 9pfsd: fix release build with old gcc
commit 8ad5a8c5c36add2eee70a7253da4098ebffdb79b
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Aug 8 13:47:44 2024 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Aug 8 13:47:44 2024 +0200
9pfsd: fix release build with old gcc
Being able to recognize that "par" is reliably initialized on the 1st
loop iteration requires not overly old compilers.
Fixes: 7809132b1a1d ("tools/xen-9pfsd: add 9pfs response generation
support")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
master commit: 984cb316cb27b53704c607e640a7dd2763b898ab
master date: 2024-08-02 08:44:22 +0200
---
tools/9pfsd/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/9pfsd/io.c b/tools/9pfsd/io.c
index df1be3df7d..468e0241f5 100644
--- a/tools/9pfsd/io.c
+++ b/tools/9pfsd/io.c
@@ -196,7 +196,7 @@ static void fill_buffer_at(void **data, const char *fmt,
...);
static void vfill_buffer_at(void **data, const char *fmt, va_list ap)
{
const char *f;
- const void *par;
+ const void *par = NULL; /* old gcc */
const char *str_val;
const struct p9_qid *qid;
const struct p9_stat *stat;
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.19
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |