From: Felipe Balbi
> Sent: 17 May 2017 14:06
> Instead, we can require caller to pass a buffer for the function to
> use. This cleans things quite a bit.
This is 2017 not 1982, you just can't pass an unsized char[] through
to code that is (presumably) going to do an sprint() into it.
You could define a structure containing a fixed size array,
or a variable-sized structure where the first member is the
size of the buffer area.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html