Re: [PATCH] [media] usb: constify vb2_ops structures

2016-09-09 Thread Laurent Pinchart
Hi Julia, Thank you for the patch. On Friday 09 Sep 2016 01:59:01 Julia Lawall wrote: > Check for vb2_ops structures that are only stored in the ops field of a > vb2_queue structure. That field is declared const, so vb2_ops structures > that have this property can be declared as const also. >

[PATCH] [media] usb: constify vb2_ops structures

2016-09-08 Thread Julia Lawall
Check for vb2_ops structures that are only stored in the ops field of a vb2_queue structure. That field is declared const, so vb2_ops structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @r