Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752999AbdHBLTX (ORCPT ); Wed, 2 Aug 2017 07:19:23 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36416 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752902AbdHBLTW (ORCPT ); Wed, 2 Aug 2017 07:19:22 -0400 From: Arvind Yadav To: arnd@arndb.de, gregkh@linuxfoundation.org, mark.gross@intel.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/3] constify char attribute_group structures Date: Wed, 2 Aug 2017 16:49:04 +0530 Message-Id: <1501672745-2951-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 16 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