Hi Zoltán,
On Sun, Dec 03, 2023 at 10:06:00AM +0100, Zoltán Böszörményi wrote:
@@ -42,7 +42,7 @@ struct egalax {This simply wastes 200+ bytes for no good reason. It is perfectly fine
struct serio *serio;
int idx;
u8 data[EGALAX_FORMAT_MAX_LENGTH];
- char phys[32];
+ char phys[NAME_MAX];
to truncate phys string (which does not happen in practice).
If you feel strongly about it then maybe use devm_kasprintf() to
allocate the needed buffer.
Thanks.