Hi, On Mon, Mar 09, 2015 at 12:26:21PM +0000, Tc, Jenny wrote: > > > + char name[PSY_MAX_BAT_NAME_LEN]; > > > > char *name; > > > > No need for arbitrary length limitation. > > The length limitation is introduced to form a packed structure so that > the data can be read directly from memory without parsing.
This reason is ok for a device driver, but not for a kernel subsystem. -- Sebastian
signature.asc
Description: Digital signature