From patchwork Thu Jul 30 09:39:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 11692665 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F748912 for ; Thu, 30 Jul 2020 09:41:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06BB92075F for ; Thu, 30 Jul 2020 09:41:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WPql0dEJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="YwSz+KYd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06BB92075F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GpK6pWNSfoG/Oq/7MOoLGEyCjsYUTCJUpjVvCBzveoM=; b=WPql0dEJhjikHZYPPUX4Sb/p57 O5WlLUg/6s7UTLpnxKh6EyIVPBfdvjbXnlcAayALjW1IuGMDP4DkqXv8TW0XzBOC+r/Q4FgGDnR0v 6ti3V8Hd1NSMboJ6hCwILMPP7zk0rkx/E8g2Pra8J34H3yoBPHv6ZYkWuGPBta/VxGf+aIZXHAHzl u8AU6HdxBpEEWKF5cy8eiYyDZgHw0NIbVHgeA7LehrEdRVUXm1iMvTez84mp/5hVRrBilddblywnw ZnekQJajXhdBtH1tXgrLXnNaewar2damtF6bGs5LQ0v2+PMc/zV7UZBd+K5i/e69Mzf00yaQjWlE+ AgL+Au5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k152P-0007bT-QE; Thu, 30 Jul 2020 09:39:45 +0000 Received: from mail-eopbgr70054.outbound.protection.outlook.com ([40.107.7.54] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k152M-0007aG-FB for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2020 09:39:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R1Q9kAiBcHN5AMfieN6627s9A0YcFeepMse+oak7zqBR7veXUdzxTIgzTATI+eWm5jnKANJpe1rnS+mU48VPFl3I0pwxuUF8a5cRxY1Er3zGmR0BGTgAm49yxDQPC5vM+XSmsiP+3aac91qdt0hK6WgjBpLq4hiNlRxYOukr0hkjiQTvC1rrm+2y65R22uy9YK8aV0/ZBrwoQPkw28sJBoNG3kDEr5OLaD04RQ9p1GtWTWe0SGClzXHCn9lqlzYCcdl8ZHJIh6AQ0lXN6ZLdkgV3+p5fer6yy82rUiaqehTO8KtsPR4+P8gdXFiHjFKh+bIeMU4ehluzM7bLKBYvmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LodwBDdBn3w3Q8KIT2hYO5TkeBzXUES03uNVP7Bwgfs=; b=SP8pbVdeP4g+heDeE7OceaBUHTIptlLx2tI2287e6x9megJia1FOIkulXhsybYU1R/AowJim2xvJFQy2sPExaBYLlfymQOQS1HvKIDEduJ0DGZhyME4XcNzsAauRVsLJ8vVcdQeiHAUqqM88lbRj1uS+OAsG1kBDB3hZ0URutm4ERUL7F1Wj7DxP4gLPXiITJhtCqqqvZ0FppSkQxWaLB9CewR1A5ZaT+aCV77hTb2IvTUwaby5CC9R5eQVNd2r4GRFeNWrSZqZdBEIzXf01GXDLvn10CwBjoLVYL7BF7gHc9nYz/++3EZD1J06+oQ3n+0GqdrBh4zOk4GZdpKa2og== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LodwBDdBn3w3Q8KIT2hYO5TkeBzXUES03uNVP7Bwgfs=; b=YwSz+KYdMAI1iDOmx6YBDGr9Qk5s07CeqtEIt/6gT6tuB4mcdDhdTNVMhCnvctHeuFGm6hgR5YxwRTVBYnefsxGiJr/70HYI5BA0UJXQAqr7qaYTdBfFzNOeMnXGZpA4sNlPQN+SWl4isMZ8yvUx+vuj00gfIYTGaNttg2dp1Us= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR0402MB3400.eurprd04.prod.outlook.com (2603:10a6:209:3::27) by AM5PR0401MB2580.eurprd04.prod.outlook.com (2603:10a6:203:38::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.16; Thu, 30 Jul 2020 09:39:37 +0000 Received: from AM6PR0402MB3400.eurprd04.prod.outlook.com ([fe80::5dd7:8d36:317a:7fcf]) by AM6PR0402MB3400.eurprd04.prod.outlook.com ([fe80::5dd7:8d36:317a:7fcf%6]) with mapi id 15.20.3239.017; Thu, 30 Jul 2020 09:39:37 +0000 From: Laurentiu Tudor To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, lorenzo.pieralisi@arm.com, diana.craciun@oss.nxp.com, laurentiu.tudor@nxp.com, makarand.pawagi@nxp.com Subject: [PATCH] bus: fsl-mc: add missing __iomem attribute Date: Thu, 30 Jul 2020 12:39:23 +0300 Message-Id: <20200730093923.26177-1-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: AM0PR10CA0049.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::29) To AM6PR0402MB3400.eurprd04.prod.outlook.com (2603:10a6:209:3::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fsr-ub1864-101.ea.freescale.net (83.217.231.2) by AM0PR10CA0049.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Thu, 30 Jul 2020 09:39:36 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [83.217.231.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ec765a1a-8e6d-42ff-ed87-08d8346c7937 X-MS-TrafficTypeDiagnostic: AM5PR0401MB2580: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:590; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TLcu4cFkYwk9HRJIYKsL2wJGdarDuMyg+gut/ViEWCRDpFLzkEA99R5/4iQduBhNce8I9IJJJYfS5+bV8q69WTu/zNKoGiLdgH1FUZUmKh7jklgOXQPiZvt7tpOazW1mGffk9veJnPsqY0dFzQXGk+mqnU4pyOy7JftOAqhxXMZ+YA9bN9lmbNXWlDSP56iLeofxg9TBc0DsYUalY1zfs/sxvk2f0aPco+wkYI0QVJt7XOGJRdUDIvw4yPImt/mQpLcfRp/zMegxXvPXB5erFnYBhkv65LdpoZgJzzj1tNbDrLLMaM7GW1/Cge7eUb9e7EVPEDFleAdJE8OgeypXzw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR0402MB3400.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(39860400002)(366004)(346002)(396003)(66946007)(5660300002)(36756003)(8676002)(956004)(2616005)(8936002)(6636002)(6512007)(66556008)(1076003)(4744005)(6666004)(66476007)(83380400001)(2906002)(6486002)(26005)(16526019)(44832011)(478600001)(86362001)(6506007)(52116002)(316002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: p3NiK4yGyFypgBtl65j8FKcgDet3gID6o+k+roHgkmUCiv1uQXHXMCtI8gF64esxEsi/HunMHU9QVEmKDd4rwdgyYMj35Lhpy65MwBtT9zf2/5vUbwb1dh+EAcFR4Lz29lExgZu3cxl5oL2wYIR1e/CYxzHLEtCBlAAnwoD4QuBWGiTPLWw5tDAiNE/+aZjIZ2TjOPI8sJyfa1JraTvy2LKEQCZE8Gz0cV8AVmihEFH8L/OVQHTmHKM4GteKzmmpFXeW3nSeuDGzo6+3psM6R/le6JV8qZDEM8orMm1E/gO0VYlkjSFSKN143ez3HgdR2KPJ4k3B5ewXFCbBfXp9tyz+TeyYU/iOHM8GUrgBHlibnhi1nkmfdSR5fbX0I4rAXE2WTzLHjWEVQeEj+aORqdBJwucQfhRVGAcZMTLVyLoN2e0aZG2dVrHRhSE899dHe1aZrVk+FJ6XDmvQ9AXY8MPRzJit+qWcEM1Nmdu1XmLLLFIbXqag7DdJ55xiOr4LSTGoQwbxzzqynSQXzjb4tap0LuachNcMSL8uLhFtLZ7ZK2GXhpPKW+pSLTMaN0s6wVjJJoPGHQA0PcNFlbvvtaSQFj5800k/pbtqSSfST5+LNaOHNgVS0AFt+I/C9PDLGbYBkNKxI5/jkrK385OteA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec765a1a-8e6d-42ff-ed87-08d8346c7937 X-MS-Exchange-CrossTenant-AuthSource: AM6PR0402MB3400.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2020 09:39:36.9195 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vSV/aYWKR9m6Zp/h0YptLpnLjzgLxDa0MD6FcSNTs5l76cCRLQedByDauU1lrqnq2g8Cdjs1G/zi7cZHBgbicQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2580 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200730_053942_706873_38A154D1 X-CRM114-Status: GOOD ( 13.35 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.7.54 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.7.54 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This pointer to an i/o register block is missing the __iomem attribute, so add it. The issue was found with sparse. Reported-by: kernel test robot Signed-off-by: Laurentiu Tudor --- drivers/bus/fsl-mc/fsl-mc-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 324d49d6df89..bb1056b7dc0a 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -40,7 +40,7 @@ struct fsl_mc { struct fsl_mc_device *root_mc_bus_dev; u8 num_translation_ranges; struct fsl_mc_addr_translation_range *translation_ranges; - void *fsl_mc_regs; + void __iomem *fsl_mc_regs; }; /**