Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbdGNIYJ (ORCPT ); Fri, 14 Jul 2017 04:24:09 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35077 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbdGNIYG (ORCPT ); Fri, 14 Jul 2017 04:24:06 -0400 From: Arvind Yadav To: lduncan@suse.com, cleech@redhat.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] constify scsi attribute_group structures. Date: Fri, 14 Jul 2017 13:53:26 +0530 Message-Id: <1500020610-15973-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: 731 Lines: 18 attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (4): [PATCH 1/4] scsi: scsi_transport_iscsi: constify attribute_group structures. [PATCH 2/4] scsi: iscsi_boot_sysfs: constify attribute_group structures. [PATCH 3/4] scsi: scsi_transport_fc: constify attribute_group structures. [PATCH 4/4] scsi: scsi_transport_spi: constify attribute_group structures. drivers/scsi/iscsi_boot_sysfs.c | 10 +++++----- drivers/scsi/scsi_transport_fc.c | 2 +- drivers/scsi/scsi_transport_iscsi.c | 12 ++++++------ drivers/scsi/scsi_transport_spi.c | 4 ++-- include/linux/iscsi_boot_sysfs.h | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) -- 1.9.1