Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703796
| From | Jens Wiklander <jens.wiklander@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tee: constify tee_driver_ops and tee_desc structures |
| Date | 2017-08-04 10:50 +0200 |
| Message-ID | <uaGsW-4Gz-13@gated-at.bofh.it> (permalink) |
| References | <uau8q-4sq-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] tee: constify tee_driver_ops and tee_desc structures Julia Lawall <Julia.Lawall@lip6.fr> - 2017-08-03 21:40 +0200 Re: [PATCH] tee: constify tee_driver_ops and tee_desc structures Jens Wiklander <jens.wiklander@linaro.org> - 2017-08-04 10:50 +0200
csiph-web