From nobody Mon Sep 15 05:55:05 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 564E1C54EBD for ; Fri, 13 Jan 2023 19:15:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229774AbjAMTPt (ORCPT ); Fri, 13 Jan 2023 14:15:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbjAMTPn (ORCPT ); Fri, 13 Jan 2023 14:15:43 -0500 Received: from mail.8bytes.org (mail.8bytes.org [IPv6:2a01:238:42d9:3f00:e505:6202:4f0c:f051]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D6D8317 for ; Fri, 13 Jan 2023 11:15:42 -0800 (PST) Received: from lemmy.home.8bytes.org (p549ad69d.dip0.t-ipconnect.de [84.154.214.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id DA736262301; Fri, 13 Jan 2023 20:15:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1673637341; bh=x52iDVgcpj5R7lCUrrVwkkAIEqksQFPgjJqv/pTpmHs=; h=From:To:Cc:Subject:Date:From; b=5SfsMmsCybtLyhG3gAxXl8dKCLbIjE0qVUAE6Fgeaoq23s8XjQ9ilicUCjdAI90z/ Nxbc45Ze+U+RfMEWC4rLc9c6I/ebovQ0W4KrC0oj6SZO377uoSha3ydxKlTq6GO60+ 8kw3r7ixSrciIHYN0fH6Sc8rrM5oBCCJWl/Hl4AjJlfRWFsW2PYuzwAzbvCkMEXztO GpVwzW4U3MbMcBNbvGlwEfdL1oP3tspmhlsdLg40+t7Ck6mpSwGRmFOWbNuCNoFJZD 5qjxtkbF71L4xR8pwmI4Jyvn+CpCPv2vlG8dlQrySCXrM9WKidoohQ3Rrh30vECRO9 Uy9AP2NdPjSjg== From: Joerg Roedel To: Joerg Roedel Cc: Will Deacon , Robin Murphy , Jason Gunthorpe , Lu Baolu , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Joerg Roedel Subject: [PATCH] iommu/fsl_pamu: Fix compile error after adding set_platform_dma_ops Date: Fri, 13 Jan 2023 20:15:28 +0100 Message-Id: <20230113191528.23638-1-joro@8bytes.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Joerg Roedel The struct initializer for set_platform_dma_ops uses a semicolon as separator where a comma is required. Fix the compile error by using the correct separator. Fixes: c1fe9119ee70 ("iommu: Add set_platform_dma_ops callbacks") Signed-off-by: Joerg Roedel Reviewed-by: Jason Gunthorpe --- drivers/iommu/fsl_pamu_domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers/iommu/fsl_pamu_domai= n.c index e123161c211a..bce372297099 100644 --- a/drivers/iommu/fsl_pamu_domain.c +++ b/drivers/iommu/fsl_pamu_domain.c @@ -452,7 +452,7 @@ static const struct iommu_ops fsl_pamu_ops =3D { .domain_alloc =3D fsl_pamu_domain_alloc, .probe_device =3D fsl_pamu_probe_device, .device_group =3D fsl_pamu_device_group, - .set_platform_dma_ops =3D fsl_pamu_set_platform_dma; + .set_platform_dma_ops =3D fsl_pamu_set_platform_dma, .default_domain_ops =3D &(const struct iommu_domain_ops) { .attach_dev =3D fsl_pamu_attach_device, .iova_to_phys =3D fsl_pamu_iova_to_phys, --=20 2.39.0