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


Groups > linux.kernel > #1681317

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

From Jens Wiklander <jens.wiklander@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures
Date 2017-07-05 09:00 +0200
Message-ID <tZMs2-2Ms-21@gated-at.bofh.it> (permalink)
References <tXE5z-5Ru-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web