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

2016-09-09 Thread Julia Lawall
On Fri, 9 Sep 2016, Andrey Utkin wrote: > On Fri, Sep 09, 2016 at 10:31:30PM +0800, Julia Lawall wrote: > > Will this soon reach linux-next? > > No idea. Indeed it's simpler if you leave your patch as is, and then > later we patch this new driver separately. OK, thanks. julia -- To

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

2016-09-09 Thread Andrey Utkin
On Fri, Sep 09, 2016 at 10:31:30PM +0800, Julia Lawall wrote: > Will this soon reach linux-next? No idea. Indeed it's simpler if you leave your patch as is, and then later we patch this new driver separately. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of

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

2016-09-09 Thread Julia Lawall
On Fri, 9 Sep 2016, Andrey Utkin wrote: > On Fri, Sep 09, 2016 at 01:59:18AM +0200, 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

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

2016-09-09 Thread andrey_utkin
On 9 September 2016 12:34:57 EEST, Julia Lawall wrote: >Do you want the whole patch again, or would a patch on the new driver >by itself be sufficient? The changes in the different files are all >independent. I guess maintainers would want a single patch for everything in

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

2016-09-09 Thread Julia Lawall
Le 09.09.2016 17:17, Andrey Utkin a écrit : On Fri, Sep 09, 2016 at 01:59:18AM +0200, 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

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

2016-09-09 Thread Andrey Utkin
On Fri, Sep 09, 2016 at 01:59:18AM +0200, 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. > Signed-off-by: Julia

[PATCH] [media] pci: 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