Re: [Cocci] [PATCH] coccinelle: misc: restrict patch mode in flexible_array.cocci

2021-03-24 Thread Julia Lawall
On Mon, 8 Mar 2021, Denis Efremov wrote: > Skip patches generation for structs/unions with a single field. > Changing a zero-length array to a flexible array member in a struct > with no named members breaks the compilation. However, reporting > such cases is still valuable, e.g. commit 637464c

Re: [Cocci] [PATCH] coccinelle: misc: update uninitialized_var.cocci documentation

2021-03-24 Thread Julia Lawall
On Mon, 8 Mar 2021, Denis Efremov wrote: > Remove the documentation link from the warning message because commit > 3942ea7a10c9 ("deprecated.rst: Remove now removed uninitialized_var") > removed the section from documentation. Update the rule documentation > accordingly. > > Signed-off-by: Deni