Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681317 > unrolled thread

Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures

Started byJens Wiklander <jens.wiklander@linaro.org>
First post2017-07-05 09:00 +0200
Last post2017-07-05 09:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc  structures Jens Wiklander <jens.wiklander@linaro.org> - 2017-07-05 09:00 +0200

#1681317 — Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures

FromJens Wiklander <jens.wiklander@linaro.org>
Date2017-07-05 09:00 +0200
SubjectRe: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures
Message-ID<tZMs2-2Ms-21@gated-at.bofh.it>
On Thu, Jun 29, 2017 at 03:05:04PM +0530, Bhumika Goyal wrote:
> Add const to tee_desc structures as they are only passed as an argument
> to the function tee_device_alloc. This argument is of type const, so
> declare these structures as const too.
> Add const to tee_driver_ops structures as they are only stored in the
> ops field of a tee_desc structure. This field is of type const, so
> declare these structure types as const.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>

Looks good to me, queueing this.

Thanks,
Jens

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web