Re: [PATCH] tee: tee_shm: Constify dma_buf_ops structures.

2017-07-04 Thread Jens Wiklander
On Sat, Jul 01, 2017 at 05:56:06PM +0530, 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

[PATCH] tee: tee_shm: 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 2026 112 02138 85a drivers/tee/tee_shm