On Fri, May 22, 2020 at 1:46 PM Gustavo A. R. Silva
wrote:
>
> On Wed, May 20, 2020 at 09:42:27AM +0200, Christian König wrote:
> > >
> > > Signed-off-by: Gustavo A. R. Silva
> >
> > Acked-by: Christian König
> >
> > May I suggest that we add a section how to correctly do this to
> > Documentati
On Wed, May 20, 2020 at 09:42:27AM +0200, Christian König wrote:
> >
> > Signed-off-by: Gustavo A. R. Silva
>
> Acked-by: Christian König
>
> May I suggest that we add a section how to correctly do this to
> Documentation/process/coding-style.rst or similar document?
>
That's already on my l
Applied. thanks!
Alex
On Wed, May 20, 2020 at 3:42 AM Christian König
wrote:
>
> Am 20.05.20 um 00:55 schrieb Gustavo A. R. Silva:
> > The current codebase makes use of one-element arrays in the following
> > form:
> >
> > struct something {
> > int length;
> > u8 data[1];
> > };
> >
Am 20.05.20 um 00:55 schrieb Gustavo A. R. Silva:
The current codebase makes use of one-element arrays in the following
form:
struct something {
int length;
u8 data[1];
};
struct something *instance;
instance = kmalloc(sizeof(*instance) + size, GFP_KERNEL);
instance->length = size;
m