From patchwork Wed Aug 30 09:10:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9929105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 683D860309 for ; Wed, 30 Aug 2017 09:11:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CA1D28403 for ; Wed, 30 Aug 2017 09:11:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 517F328429; Wed, 30 Aug 2017 09:11:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 150E32843C for ; Wed, 30 Aug 2017 09:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbdH3JLD (ORCPT ); Wed, 30 Aug 2017 05:11:03 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35447 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319AbdH3JLC (ORCPT ); Wed, 30 Aug 2017 05:11:02 -0400 Received: by mail-pg0-f67.google.com with SMTP id r133so4671128pgr.2; Wed, 30 Aug 2017 02:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+oL1MIvE0uDNPUgSw12GAv7YqagNb7oSqmzsTZy1q4M=; b=ETRUB7ZRisHbcrhlsT7VEdt1njt2G2PGLIQU3Xq8dKyWh6mfrakAHHu+CqX+Rl5odn aepiIL7jowpNQC3Vk7DH2p/mw+GdvqpZhWcVCMR17gGC1m0J4kGGDRb4fxa05+9aWfCe nXz7BuHi7ZdL5UsIgbfK3yMtrgo2bpxFAM7zF5ckVnVXLXPOiRAW8eAEPVT1P4bWITdt V8GW2eNedfqkwI6EVQlfdANBNk+hAfc8CYMugJEpqnLSdtqpHNgQaF+EViQxhfm3Y08c rMk4G5gggpVlUSxGkuU0Xjdj5UigiqSSoI/6LZO/so3lI3p1tojgdBM76WBWd44yZJLU vMZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+oL1MIvE0uDNPUgSw12GAv7YqagNb7oSqmzsTZy1q4M=; b=qkHxFQj854BUEMwOLFiGYE7jFf4h+tQNqaDnvnXijlss3wI0qsjy9se/5nI8oodO+3 fcg+RHkqt0M5D5qzcGDw7qaH3HeEHgsT6GgkUewODUQjD1Ru78BL12hj2ZtPnPlSi4bp LJSIfALbCwUV6XhKHmzHy1ec0UF0VkI13womNbJhqrbUJL/0eyU7y8L3QtRrTaxbNdZM Nn8XT5kaCi7fxvirt1KShP0xY+l5J5yDJrpM7EQXeXhuCMPYxCib8Gsq9KoUYeDTem/v 4iOghDb+9dlLGgYtApJpNlw1sjV3EQ1DRggMnZW4xgUatGji/077gxfglwItqfDNi1aU H7gg== X-Gm-Message-State: AHYfb5jkKCPNJA7LtKdDsjJs1qpwA7CHwwI9yqx3v7hMWPMTHm3jNLWP EaWEawR/ICOzsw== X-Received: by 10.99.186.2 with SMTP id k2mr877715pgf.78.1504084262192; Wed, 30 Aug 2017 02:11:02 -0700 (PDT) Received: from gmail.com ([117.196.125.177]) by smtp.gmail.com with ESMTPSA id j184sm8504260pfc.147.2017.08.30.02.10.36 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 30 Aug 2017 02:11:01 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Wed, 30 Aug 2017 14:40:18 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, linuxdrivers@attotech.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] [SCSI] esas2r: make default_sas_nvram const Date: Wed, 30 Aug 2017 14:40:14 +0530 Message-Id: <1504084214-11762-1-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make this const as it is never modified. Signed-off-by: Bhumika Goyal --- drivers/scsi/esas2r/esas2r_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/esas2r/esas2r_flash.c b/drivers/scsi/esas2r/esas2r_flash.c index 7bd376d..f8414b5 100644 --- a/drivers/scsi/esas2r/esas2r_flash.c +++ b/drivers/scsi/esas2r/esas2r_flash.c @@ -54,7 +54,7 @@ #define ESAS2R_FS_DRVR_VER 2 -static struct esas2r_sas_nvram default_sas_nvram = { +static const struct esas2r_sas_nvram default_sas_nvram = { { 'E', 'S', 'A', 'S' }, /* signature */ SASNVR_VERSION, /* version */ 0, /* checksum */