Messages in this thread | | | From | Jens Wiklander <> | Date | Fri, 4 Aug 2017 10:48:45 +0200 | Subject | Re: [PATCH] tee: constify tee_driver_ops and tee_desc structures |
| |
On Thu, Aug 3, 2017 at 9:09 PM, Julia Lawall <Julia.Lawall@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.Lawall@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
| |