From a75cf799863fb4b1b4309bf2c2e8769de1591783 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Wed, 12 Aug 2015 10:53:55 +0200 Subject: [PATCH] Use more flexible format of user data in klgd_command struct --- klgd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/klgd.h b/klgd.h index 3a3c0d4..3134656 100644 --- a/klgd.h +++ b/klgd.h @@ -12,7 +12,9 @@ struct klgd_command { __u8 * const bytes; size_t length; union { - u32 data[2]; + u32 ldata[2]; + u16 sdata[4]; + u8 cdata[8]; void *ptr; } user; }; -- 2.43.5