Re: [PATCH] rcar_fdp1: constify vb2_ops structure

2017-07-07 Thread Gustavo A. R. Silva
Hi Kieran, Quoting Kieran Bingham : Hi Gustavo, Thank you for the patch. Absolutely, glad to help. :) On 06/07/17 21:25, Gustavo A. R. Silva wrote: Check for vb2_ops structures that are only stored in the ops field of a vb2_queue structure. That

Re: [PATCH] rcar_fdp1: constify vb2_ops structure

2017-07-06 Thread Kieran Bingham
Hi Gustavo, Thank you for the patch. On 06/07/17 21:25, Gustavo A. R. Silva 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] rcar_fdp1: constify vb2_ops structure

2017-07-06 Thread Gustavo A. R. Silva
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. This issue was detected using Coccinelle and the following semantic patch: @r disable