Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9595252ybl; Thu, 26 Dec 2019 01:54:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzcbSmLJwi3OTC0n0SX1nCvEudOV5779y9rUi5iCmhRJI+1GC1XZzW6yMJdhORslvnNyVrn X-Received: by 2002:a9d:67ce:: with SMTP id c14mr24868136otn.106.1577354078659; Thu, 26 Dec 2019 01:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577354078; cv=none; d=google.com; s=arc-20160816; b=uIdy0338ipZMZtxFiChRXR9STj+nDs1a3maLDfZuhyYkdOQ+kZNATHqu7pMjXcQ1MY qJiGInhJit0ISag4CI8LzV1NemSrhITWfu4UmIuxP8lZuZ0KrDe6IIuWSIqUkuuxBTU5 jJQ2Tnp8MFK5V3z+GPMPiiHt8o6QLyd3sNQt6O6c9LYjCjyWRs38mJo8iOdBvlsBG4l4 L6BYUKOcTY/pC6sjQeCYszmoIHF64ET5NnWZTMxpiotQfDVDfkTC8hn7LIKga0dQaCLF GX9HKaVqsGV5Auq1GNeN3hbxgk2U5BjZYp4guXe6sUQl0UhpafJBnw6ky0Y+PlnH/78/ Sw4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=KClukxXTuW2tcSXVjPl9rnA5IKVgOInZKdTbkuEgVBI=; b=PeE6Nwab7vdgwneGER+XlykPBvV+D5H98iGM+6l5I7Rk8wQVoFz2F0Yj+qNIyalYCS qoH19tAjlqmfUuz7wfSQU+HFKDLG8U/gPiuP7aYBZBjxQMhA4f0R9Nv8Rvxlnt3YZIJF q6/a3M6x99EqBEQgVV3At3fcBjFHj72XQsDvOOOdsoWa8Bmkm9ETwL8vPdk3Usa2ffeX BwVy+f0pX/4JR25iXcBeuGKLrqWt226ZIHFjt8i2Uj0LnLidFU6uUEEKga93r0FYGkj9 76MumEDRoOnRZBp/zK09OzgoYW6O7hCve/6QL8WGJIn1yocUr00CSpStw5tGGGOGfmOA L9xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2o6yuETI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si8117413otj.113.2019.12.26.01.54.27; Thu, 26 Dec 2019 01:54:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2o6yuETI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726511AbfLZJwm (ORCPT + 99 others); Thu, 26 Dec 2019 04:52:42 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:36695 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfLZJwm (ORCPT ); Thu, 26 Dec 2019 04:52:42 -0500 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id xBQ9pgNX023812; Thu, 26 Dec 2019 18:51:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com xBQ9pgNX023812 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1577353903; bh=KClukxXTuW2tcSXVjPl9rnA5IKVgOInZKdTbkuEgVBI=; h=From:To:Cc:Subject:Date:From; b=2o6yuETICqz9vX34gn+bLy7yHs1FXSLjOereBev9RZcIhz7gBRb1dmSPm2V5TGAOd dcKNftgZq5cr5rypWcQwqb86ymf7sj43vJq9WIcFvRZIcrz+RvlRRQgk2jiT3yd6pr tbOtHzNjczGhX5lopVT87iMfEPkHVK+lScN3+wpMXy6s4IafhVEEcXABXCVyYHaeph w4oKI+eRzTcZRpp5GATb1PDHNl0SSHhgDGUO56YObn60LMo0VuFrCnv3DUtzgbu030 gqHxr+/Bpmhhr9gHbAxLH+tzOp0P3FTtTUOV7NWVVYRr+J7YlU1EaLyjizoSu8elmv 4eqrco172Ex0g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Will Deacon , Robin Murphy , linux-arm-kernel@lists.infradead.org, Joerg Roedel , iommu@lists.linux-foundation.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] iommu/arm-smmu-v3: constify arm_smmu_options[] Date: Thu, 26 Dec 2019 18:51:40 +0900 Message-Id: <20191226095141.30352-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a read-only array. Signed-off-by: Masahiro Yamada --- drivers/iommu/arm-smmu-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index b463599559d2..ed9933960370 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -673,7 +673,7 @@ struct arm_smmu_option_prop { const char *prop; }; -static struct arm_smmu_option_prop arm_smmu_options[] = { +static const struct arm_smmu_option_prop arm_smmu_options[] = { { ARM_SMMU_OPT_SKIP_PREFETCH, "hisilicon,broken-prefetch-cmd" }, { ARM_SMMU_OPT_PAGE0_REGS_ONLY, "cavium,cn9900-broken-page1-regspace"}, { 0, NULL}, -- 2.17.1