On Thu, Aug 3, 2017 at 9:09 PM, Julia Lawall <julia.law...@lip6.fr> wrote: > tee_driver_ops structures are only stored in the ops field of tee_desc > structures, which is const, and in turn tee_desc structures are only passed > as the first argument of tee_device_alloc, and this argument is const as > well. Thus the two kinds of structures can be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
This has already been proposed by Bhumika Goyal in a more or less identical patch. I've already picked up Bhumikas patch and will send it upstream via arm-soc. Thanks, Jens