Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753167AbdGSIut (ORCPT ); Wed, 19 Jul 2017 04:50:49 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55965 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751911AbdGSIur (ORCPT ); Wed, 19 Jul 2017 04:50:47 -0400 Date: Wed, 19 Jul 2017 10:50:40 +0200 From: Martin Schwidefsky To: Arvind Yadav Cc: freude@de.ibm.com, heiko.carstens@de.ibm.com, linux-s390@vger.kernel.org, sth@linux.vnet.ibm.com, hoeppner@linux.vnet.ibm.com, sebott@linux.vnet.ibm.com, oberpar@linux.vnet.ibm.com, wi@linux.vnet.ibm.com, ubraun@linux.vnet.ibm.com, jwi@linux.vnet.ibm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/8] constify s390 attribute_group structures In-Reply-To: <1500448157-24668-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1500448157-24668-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17071908-0012-0000-0000-0000056429A6 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17071908-0013-0000-0000-000018D7D58B Message-Id: <20170719105040.66eb7a9d@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-19_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707190145 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1340 Lines: 34 On Wed, 19 Jul 2017 12:39:09 +0530 Arvind Yadav wrote: > 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 (9): > s390: zcrypt_queue: constify attribute_group structures. > s390: zcrypt_card: constify attribute_group structures. > s390: dasd_devmap: constify attribute_group structures. > s390: device: constify attribute_group structures. > s390: qeth: constify attribute_group structures. > s390: raw3270: constify attribute_group structures. > s390: tape_core: constify attribute_group structures. > s390: sclp_ocf: constify attribute_group structures. > > drivers/s390/block/dasd_devmap.c | 2 +- > drivers/s390/char/raw3270.c | 2 +- > drivers/s390/char/sclp_ocf.c | 2 +- > drivers/s390/char/tape_core.c | 2 +- > drivers/s390/cio/device.c | 4 ++-- > drivers/s390/crypto/zcrypt_card.c | 2 +- > drivers/s390/crypto/zcrypt_queue.c | 2 +- > drivers/s390/net/qeth_l3_sys.c | 8 ++++---- > 8 files changed, 12 insertions(+), 12 deletions(-) Applied to linux-s390:features for the next merge window. Thanks. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.