Files
tqma6-yocto-mirror/sources/meta-ti/meta-ti-extras/recipes-devtools/gdbc6x/gdbserverproxy-module-drv/0002-Support-Linux-kernels-v6.6.patch
Siggi (OpenClaw Agent) 16accb6b24 Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
2026-03-01 21:14:11 +00:00

32 lines
1020 B
Diff

From: Ryan Eatmon <reatmon@ti.com>
Date: Wed, 08 Feb 2024 10:43:00 -0500
Subject: [PATCH] Support Linux kernels v6.6+
gdb_write arg changed from int to unsigned int
Upstream-Status: Inactive-Upstream
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
kernel_module/gdbproxy-mod/gdbserverproxy.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel_module/gdbproxy-mod/gdbserverproxy.c b/kernel_module/gdbproxy-mod/gdbserverproxy.c
index 418b6db..4b1c676 100644
--- a/kernel_module/gdbproxy-mod/gdbserverproxy.c
+++ b/kernel_module/gdbproxy-mod/gdbserverproxy.c
@@ -496,8 +496,13 @@ static void gdb_close(struct tty_struct *tty, struct file *filp)
*
*
*/
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,6,0))
+static int gdb_write(struct tty_struct *tty,
+ const unsigned char *buf, unsigned int count)
+#else
static int gdb_write(struct tty_struct *tty,
const unsigned char *buf, int count)
+#endif
{
struct dsp_session *dsp = tty->driver_data;
int ret = 0;