Message ID | 20231115144007.478111-6-herve.codina@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2582402vqg; Wed, 15 Nov 2023 06:41:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IF04cAP18H1KgvY+xrDvUlwg8o0EOOaPdd6Lp3RrXuw0Gr3baw2+PT6IS+Xe4XPUCGq7671 X-Received: by 2002:a9d:7ccc:0:b0:6cd:da93:90ce with SMTP id r12-20020a9d7ccc000000b006cdda9390cemr6111452otn.19.1700059299593; Wed, 15 Nov 2023 06:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700059299; cv=none; d=google.com; s=arc-20160816; b=S2T3HJ080OphNnjOL6CepIw2BN7aHLDGaeDec5c5iQBxqQKHkyAcUiwzJ+oMIiU9/k m+EKrpZNHMPj6eYl5/HVlycTUi2F84gtsnU2+15PoKHfwhDbxbaX9u/ASI2QJHvw7Apy 1FLWcXcXoo1CoABImthSr3xyvfZlVZRqVo0QJ2SGvkj6w1T5VKy9unccaoX60RJii0+n Tu8OyQ/d6/0fOPqcl7ZbpZQXHr8gVPNrA9PPHulojna0PhZpddayjd1chJF6LScduffI 1eDOJMJY4lsT0j5fX+HjNFeiVk2JTveN11ZCxxYpPnCuYr3PRK1iBt5zs5BIlDSw3fOw TtAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rx/A9HozqIkWV5W2yFN73CmDEmfw3GEllA7rLxW9iPs=; fh=5rCQDomVZxLXb7yR2oN4iSS3zxUnzGJP2HoQaRzhQu0=; b=aQ614m4j+djpBVb2gnFwk/B/OXEn11NYch+42HBS2MDKrGjFG7XFRmTYFjJshjGdtT ZXG/PjCPKZR22mp12zOOApT+5BYC7Pqf1/C1OhiJ1gMAPkW7YAx48bzHSwo/dF4SdGii pLQlJDbvaWyiJ7QYHbAABmkNNT4dXaud7xz7+gjrS3JL7oRj8qdlk4uvBufFBPd0VxEz IADGLumBUPq/WuumOx3tJaooea6rS6SiAy22jeNRV4IECa8TGHS3FgI7HW4/8weJo6WY uD49OJpwEnsqRDiP3a7MT09hijCDeSHPFb3UbetW7VEw1FDit5N7dR8MX8HbWzVZHrfv p//g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UoRE3pgn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e13-20020a65678d000000b005b8f181b729si10310345pgr.360.2023.11.15.06.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 06:41:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=UoRE3pgn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0864C8071068; Wed, 15 Nov 2023 06:41:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344141AbjKOOkx (ORCPT <rfc822;lhua1029@gmail.com> + 29 others); Wed, 15 Nov 2023 09:40:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344224AbjKOOkk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Nov 2023 09:40:40 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 651CB95; Wed, 15 Nov 2023 06:40:25 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPA id 71F58FF821; Wed, 15 Nov 2023 14:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700059224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rx/A9HozqIkWV5W2yFN73CmDEmfw3GEllA7rLxW9iPs=; b=UoRE3pgnFvM/eapkN04PwCY6VyDvs8DL6wdIX90ECoJ5obdWsYu/IY/skKaQ2Y28ut3Q+g m3rP0CaPyac/TzU1k4FN8sdEpuXvwQmvsEFznH01zr52g17w+IcDJ1D27T2vodvd826EmA 5ZweP+WIqf1wFA2bxCawY3kp6qH7YvKt3nq1T4rrtlBkzAVPmJ9J97tpAX/J68nqhmd+hO HW3L2W4fTZm+MjgahkNv9T0/cUU1h2QHWNxMKqb+EU5i77fHkvoq8z0u9+sGcOLGVG+jjB hIeveSH1GVcJlmtA6mWc9O6KFMSa+xKYnMotPghHSTk+fMQnGEy0hJ8hjhmAlQ== From: Herve Codina <herve.codina@bootlin.com> To: Herve Codina <herve.codina@bootlin.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Andrew Lunn <andrew@lunn.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Qiang Zhao <qiang.zhao@nxp.com>, Li Yang <leoyang.li@nxp.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Shengjiu Wang <shengjiu.wang@gmail.com>, Xiubo Li <Xiubo.Lee@gmail.com>, Fabio Estevam <festevam@gmail.com>, Nicolin Chen <nicoleotsuka@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Randy Dunlap <rdunlap@infradead.org> Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, Simon Horman <horms@kernel.org>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v9 05/27] soc: fsl: cpm1: qmc: Remove inline function specifiers Date: Wed, 15 Nov 2023 15:39:41 +0100 Message-ID: <20231115144007.478111-6-herve.codina@bootlin.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231115144007.478111-1-herve.codina@bootlin.com> References: <20231115144007.478111-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 15 Nov 2023 06:41:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782641379979150738 X-GMAIL-MSGID: 1782641379979150738 |
Series |
Add support for QMC HDLC, framer infrastructure and PEF2256 framer
|
|
Commit Message
Herve Codina
Nov. 15, 2023, 2:39 p.m. UTC
The inline function specifier is present on some functions but it is better to let the compiler decide inlining or not these functions. Remove inline specifiers. Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") Signed-off-by: Herve Codina <herve.codina@bootlin.com> Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> --- drivers/soc/fsl/qe/qmc.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c index 4b4832d93c9b..27f2f16deac9 100644 --- a/drivers/soc/fsl/qe/qmc.c +++ b/drivers/soc/fsl/qe/qmc.c @@ -218,37 +218,37 @@ struct qmc { struct qmc_chan *chans[64]; }; -static inline void qmc_write16(void __iomem *addr, u16 val) +static void qmc_write16(void __iomem *addr, u16 val) { iowrite16be(val, addr); } -static inline u16 qmc_read16(void __iomem *addr) +static u16 qmc_read16(void __iomem *addr) { return ioread16be(addr); } -static inline void qmc_setbits16(void __iomem *addr, u16 set) +static void qmc_setbits16(void __iomem *addr, u16 set) { qmc_write16(addr, qmc_read16(addr) | set); } -static inline void qmc_clrbits16(void __iomem *addr, u16 clr) +static void qmc_clrbits16(void __iomem *addr, u16 clr) { qmc_write16(addr, qmc_read16(addr) & ~clr); } -static inline void qmc_write32(void __iomem *addr, u32 val) +static void qmc_write32(void __iomem *addr, u32 val) { iowrite32be(val, addr); } -static inline u32 qmc_read32(void __iomem *addr) +static u32 qmc_read32(void __iomem *addr) { return ioread32be(addr); } -static inline void qmc_setbits32(void __iomem *addr, u32 set) +static void qmc_setbits32(void __iomem *addr, u32 set) { qmc_write32(addr, qmc_read32(addr) | set); }