From: Michal MalĂ˝ Date: Wed, 12 Aug 2015 08:53:55 +0000 (+0200) Subject: Use more flexible format of user data in klgd_command struct X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=a75cf799863fb4b1b4309bf2c2e8769de1591783;p=KLGD.git Use more flexible format of user data in klgd_command struct --- 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; };