Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Joe Perches
On Thu, 2018-08-23 at 20:17 -0400, Julia Lawall wrote: > > On Thu, 23 Aug 2018, Joe Perches wrote: > > > On Thu, 2018-08-23 at 15:27 -0700, Kees Cook wrote: > > > On Thu, Aug 23, 2018 at 3:21 PM, Joe Perches wrote: > > > > On Thu, 2018-08-23 at 18:13 -0400, Julia Lawall wrote: > > > > > > > >

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Joe Perches
On Thu, 2018-08-23 at 18:13 -0400, Julia Lawall wrote: > > On Thu, 23 Aug 2018, Kees Cook wrote: > > > On Thu, Aug 23, 2018 at 3:00 PM, Julia Lawall wrote: > > > > > > > > > On Thu, 23 Aug 2018, Kees Cook wrote: > > > > > > > On Thu, Aug 23, 2018 at 2:48 PM, Joe Perches wrote: > > > > >

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Julia Lawall
On Thu, 23 Aug 2018, Joe Perches wrote: > On Thu, 2018-08-23 at 15:27 -0700, Kees Cook wrote: > > On Thu, Aug 23, 2018 at 3:21 PM, Joe Perches wrote: > > > On Thu, 2018-08-23 at 18:13 -0400, Julia Lawall wrote: > > > > > > > > On Thu, 23 Aug 2018, Kees Cook wrote: > > > > > > > > (a + b) * c

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Julia Lawall
On Thu, 23 Aug 2018, Kees Cook wrote: > On Thu, Aug 23, 2018 at 3:21 PM, Joe Perches wrote: > > On Thu, 2018-08-23 at 18:13 -0400, Julia Lawall wrote: > >> > >> On Thu, 23 Aug 2018, Kees Cook wrote: > >> > >> (a + b) * c > >> > >> It will consider a pattern with the parentheses removed, but

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 3:21 PM, Joe Perches wrote: > On Thu, 2018-08-23 at 18:13 -0400, Julia Lawall wrote: >> >> On Thu, 23 Aug 2018, Kees Cook wrote: >> >> (a + b) * c >> >> It will consider a pattern with the parentheses removed, but that pattern >> won't match anything, because real trees

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Julia Lawall
On Thu, 23 Aug 2018, Kees Cook wrote: > On Thu, Aug 23, 2018 at 3:00 PM, Julia Lawall wrote: > > > > > > On Thu, 23 Aug 2018, Kees Cook wrote: > > > >> On Thu, Aug 23, 2018 at 2:48 PM, Joe Perches wrote: > >> > Forwarding a question about coccinelle and isomorphisms from Kees Cook > >> > >

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 3:00 PM, Julia Lawall wrote: > > > On Thu, 23 Aug 2018, Kees Cook wrote: > >> On Thu, Aug 23, 2018 at 2:48 PM, Joe Perches wrote: >> > Forwarding a question about coccinelle and isomorphisms from Kees Cook >> > >> > -- Forwarded message -- >> > From: Kees

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Julia Lawall
On Thu, 23 Aug 2018, Kees Cook wrote: > On Thu, Aug 23, 2018 at 2:48 PM, Joe Perches wrote: > > Forwarding a question about coccinelle and isomorphisms from Kees Cook > > > > -- Forwarded message -- > > From: Kees Cook > > To: "Gustavo A. R. Silva" > > Cc: Alessandro Zummo ,

Re: [Cocci] [Fwd: Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()]

2018-08-23 Thread Kees Cook
On Thu, Aug 23, 2018 at 2:48 PM, Joe Perches wrote: > Forwarding a question about coccinelle and isomorphisms from Kees Cook > > -- Forwarded message -- > From: Kees Cook > To: "Gustavo A. R. Silva" > Cc: Alessandro Zummo , Alexandre Belloni > , Maxime Ripard , > Chen-Yu Tsai