[PATCH] soc: fsl: qbman: Remove redundant warnings

Wang, Xiaolei Xiaolei.Wang at windriver.com
Wed Aug 14 09:54:07 AEST 2024


ping

Thanks
Xiaolei

获取 Outlook for iOS<https://aka.ms/o0ukef>
________________________________
发件人: Wang, Xiaolei
发送时间: Friday, August 2, 2024 10:17:17 AM
收件人: christophe.leroy at csgroup.eu <christophe.leroy at csgroup.eu>; robh at kernel.org <robh at kernel.org>
抄送: linuxppc-dev at lists.ozlabs.org <linuxppc-dev at lists.ozlabs.org>; linux-arm-kernel at lists.infradead.org <linux-arm-kernel at lists.infradead.org>; linux-kernel at vger.kernel.org <linux-kernel at vger.kernel.org>
主题: [PATCH] soc: fsl: qbman: Remove redundant warnings

RESERVEDMEM_OF_DECLARE usage has been removed. For
non-popwerpc platforms, such as ls1043, this warning
is redundant. ls1043 itself uses shared-dma-mem.

Fixes: 3e62273ac63a ("soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage")
Signed-off-by: Xiaolei Wang <xiaolei.wang at windriver.com>
---
 drivers/soc/fsl/qbman/qman_ccsr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c
index 392e54f14dbe..aa5348f4902f 100644
--- a/drivers/soc/fsl/qbman/qman_ccsr.c
+++ b/drivers/soc/fsl/qbman/qman_ccsr.c
@@ -791,8 +791,6 @@ static int fsl_qman_probe(struct platform_device *pdev)
          * FQD memory MUST be zero'd by software
          */
         zero_priv_mem(fqd_a, fqd_sz);
-#else
-       WARN(1, "Unexpected architecture using non shared-dma-mem reservations");
 #endif
         dev_dbg(dev, "Allocated FQD 0x%llx 0x%zx\n", fqd_a, fqd_sz);

--
2.25.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20240813/e972e7a8/attachment.htm>


More information about the Linuxppc-dev mailing list