Re: [PATCH] drm/omap: dma-buf: Constify dma_buf_ops structures.

2017-08-08 Thread Tomi Valkeinen
On 02/07/17 09:19, Arvind Yadav wrote: > dma_buf_ops are not supposed to change at runtime. All functions > working with dma_buf_ops provided by work with > const dma_buf_ops. So mark the non-const structs as const. > > File size before: >text data bss dec hex filename >

[PATCH] drm/omap: dma-buf: Constify dma_buf_ops structures.

2017-07-01 Thread Arvind Yadav
dma_buf_ops are not supposed to change at runtime. All functions working with dma_buf_ops provided by work with const dma_buf_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 1240 112 01352 548 drivers/gpu/drm/om