[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20f2ff71-fa9c-4282-9a16-566ff85c1247@web.de>
Date: Fri, 23 Aug 2024 10:45:55 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Stuart Hayhurst <stuart.a.hayhurst@...il.com>,
linux-input@...r.kernel.org, kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>,
Benjamin Tissoires <bentiss@...nel.org>, Jiri Kosina <jikos@...nel.org>
Subject: Re: [v2] HID: corsair-void: Add Corsair Void headset family driver
>> How do you think about to collaborate with other data structures
>> than character arrays?
>>
>> See also:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.11-rc4#n953
>
> Hm, I picked a character array since all it's doing is sending a
> buffer to the device.
> There's no published specification to follow, only "Well the Windows
> driver sends these bytes and this happens".
> So there isn't really a structure that really comes naturally,
> especially with all the magic numbers.
Is there still a desire and need to achieve a more meaningful interpretation
for involved data exchanges?
https://en.wikipedia.org/wiki/Header_(computing)
Regards,
Markus
Powered by blists - more mailing lists