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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
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 Wed, 05 Jul 2017 09:00:02 +0200
Message-ID <tZMs2-2Ms-21@gated-at.bofh.it> (permalink)
References <tXE5z-5Ru-1@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KWJCo96ECcu6lhtM07jf0lYhgtLPe0eIbwnE+igXt5Y=; b=aMAbRZJx9Z5CVP2SCkner3srlCix+OWF8k0h73t0spJMLF+zTRd/zvzNqjL0ZTXqoX aOTinXUfTiwj6tDQU7iOTkL4T6a7uG8sqcou6BMxnmprcoBc8G2exVKQHnwxLfwPnjeQ E7rLoN4ODauL1V2CTY6rdHovdcnR4rubGkUQQ=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KWJCo96ECcu6lhtM07jf0lYhgtLPe0eIbwnE+igXt5Y=; b=JIiot0WkaFCCAweYGSlmz9kg/fu/6sUbVbYsTg0htUNkBcEmo/q/5FznTe6iyPFfsh B+k7fA8X9oSVwYTqtNIGwIOLG22harOdaPJlLJzb7smRcG543WQw8KA6JK2G6h9mb0pQ VJr0/gMBio/h/A779LmVgh9U5Qelz9RwjUhEfYR4Zx9vMY8mv8KVb+VmLd7MBlDEQYh3 5IsX689kHBQMrGpfev/A0CIMNPWCGc2jY2hZmda4a7gwBIFjjvaWAQhQP/kJrWl/VCPn Oq5sYKa5TXpW2Yb36OCB1KhT6O1gG7uDNQq+AHYKCUb0aZibcFD13AWF+LRRTBa6NvEU hAKw==
X-Gm-Message-State AIVw111KOh0s5eoRFyyArJ1YMf61V3SRD2rK/bQ6sr6SYa3NqH6S0Q2Z Mgza52XCerNnNqRE
X-Received by 10.25.95.80 with SMTP id a16mr5620017lfj.132.1499237850963; Tue, 04 Jul 2017 23:57:30 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc julia.lawall@lip6.fr, linux-kernel@vger.kernel.org
X-Original-Date Wed, 5 Jul 2017 08:57:28 +0200
X-Original-Message-ID <20170705065727.GA22143@jax>
X-Original-References <1498728904-14805-1-git-send-email-bhumirks@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1681317

Show key headers only | 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