Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbdHLGKL (ORCPT ); Sat, 12 Aug 2017 02:10:11 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:49773 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750995AbdHLGKJ (ORCPT ); Sat, 12 Aug 2017 02:10:09 -0400 X-IronPort-AV: E=Sophos;i="5.41,362,1498514400"; d="scan'208";a="286837638" From: Julia Lawall To: linux-scsi@vger.kernel.org Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] constify pci_error_handlers structures Date: Sat, 12 Aug 2017 07:44:28 +0200 Message-Id: <1502516674-8918-1-git-send-email-Julia.Lawall@lip6.fr> 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: 578 Lines: 15 These pci_error_handlers structures are only stored in the err_handler field of a pci_driver structure, and this field is declared as const. Thus the pci_error_handlers structures can be const too. Done with the help of Coccinelle. --- drivers/misc/genwqe/card_base.c | 2 +- drivers/scsi/aacraid/linit.c | 2 +- drivers/scsi/be2iscsi/be_main.c | 2 +- drivers/scsi/bfa/bfad.c | 2 +- drivers/scsi/csiostor/csio_init.c | 2 +- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)