From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752365AbdGEG5m (ORCPT ); Wed, 5 Jul 2017 02:57:42 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:33739 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750867AbdGEG5c (ORCPT ); Wed, 5 Jul 2017 02:57:32 -0400 Date: Wed, 5 Jul 2017 08:57:28 +0200 From: Jens Wiklander To: Bhumika Goyal Cc: julia.lawall@lip6.fr, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures Message-ID: <20170705065727.GA22143@jax> References: <1498728904-14805-1-git-send-email-bhumirks@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1498728904-14805-1-git-send-email-bhumirks@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Looks good to me, queueing this. Thanks, Jens