From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file
---
kernel/include/linux/seq_buf.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/kernel/include/linux/seq_buf.h b/kernel/include/linux/seq_buf.h
index aa5deb0..9d6c28c 100644
--- a/kernel/include/linux/seq_buf.h
+++ b/kernel/include/linux/seq_buf.h
@@ -30,7 +30,7 @@
}
static inline void
-seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size)
+seq_buf_init(struct seq_buf *s, char *buf, unsigned int size)
{
s->buffer = buf;
s->size = size;
@@ -125,6 +125,9 @@
extern int seq_buf_putmem_hex(struct seq_buf *s, const void *mem,
unsigned int len);
extern int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc);
+extern int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str,
+ int prefix_type, int rowsize, int groupsize,
+ const void *buf, size_t len, bool ascii);
#ifdef CONFIG_BINARY_PRINTF
extern int
--
Gitblit v1.6.2