Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbdHCMhd convert rfc822-to-8bit (ORCPT ); Thu, 3 Aug 2017 08:37:33 -0400 Received: from mga05.intel.com ([192.55.52.43]:55197 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbdHCMhc (ORCPT ); Thu, 3 Aug 2017 08:37:32 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,315,1498546800"; d="scan'208";a="135624374" From: "Gross, Mark" To: Arvind Yadav , "arnd@arndb.de" , "gregkh@linuxfoundation.org" CC: "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 0/3] constify char attribute_group structures Thread-Topic: [PATCH 0/3] constify char attribute_group structures Thread-Index: AQHTC4FAKoNBWaCb5kqsAcNT4YyEFaJxWiZwgAE4j4CAAAC0wA== Date: Thu, 3 Aug 2017 12:37:31 +0000 Message-ID: References: <1501672745-2951-1-git-send-email-arvind.yadav.cs@gmail.com> <24f4fc72-47d9-ce26-18cf-abd8f5af4bcf@gmail.com> In-Reply-To: <24f4fc72-47d9-ce26-18cf-abd8f5af4bcf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1612 Lines: 47 Sounds good to me. --mark > -----Original Message----- > From: Arvind Yadav [mailto:arvind.yadav.cs@gmail.com] > Sent: Wednesday, August 2, 2017 10:35 PM > To: Gross, Mark ; arnd@arndb.de; > gregkh@linuxfoundation.org > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH 0/3] constify char attribute_group structures > > Hi Mark, > > > On Wednesday 02 August 2017 11:26 PM, Gross, Mark wrote: > > Why stop at these 3 users of attribute_group? > I am doing for all. This changes is only for char user. Few patch are under > review and few are merged. Rest all I will send. > > ~arvind > > --mark > > > > -----Original Message----- > > From: Arvind Yadav [mailto:arvind.yadav.cs@gmail.com] > > Sent: Wednesday, August 2, 2017 4:19 AM > > To: arnd@arndb.de; gregkh@linuxfoundation.org; Gross, Mark > > > > Cc: linux-kernel@vger.kernel.org > > Subject: [PATCH 0/3] constify char attribute_group structures > > > > attribute_group are not supposed to change at runtime. All functions working > with attribute_group provided by work with const > attribute_group. So mark the non-const structs as const. > > > > Arvind Yadav (3): > > [PATCH 1/3] char: tlclk: constify attribute_group structures. > > [PATCH 2/3] char: tpm: constify attribute_group structures. > > [PATCH 3/3] char: virtio: constify attribute_group structures. > > > > drivers/char/tlclk.c | 2 +- > > drivers/char/tpm/tpm_ppi.c | 2 +- > > drivers/char/virtio_console.c | 2 +- > > 3 files changed, 3 insertions(+), 3 deletions(-) > > > > -- > > 1.9.1 > >