From: Riyan Dhiman <riyandhiman14@gmail.com>
To: srinivas.kandagatla@linaro.org, bgoswami@quicinc.com,
andersson@kernel.org
Cc: alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Riyan Dhiman <riyandhiman14@gmail.com>
Subject: [PATCH] soc: qcom: apr: Fix some parenthesis alignment coding style issues
Date: Wed, 4 Sep 2024 11:17:35 +0530 [thread overview]
Message-ID: <20240904054735.7952-1-riyandhiman14@gmail.com> (raw)
Adhere to Linux kernel coding style.
Issue reported by checkpatch:
- CHECK: Alignment should match open parenthesis
It has no functional changes.
Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
---
drivers/soc/qcom/apr.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/soc/qcom/apr.c b/drivers/soc/qcom/apr.c
index 4fbff3a890e2..db1326bdb170 100644
--- a/drivers/soc/qcom/apr.c
+++ b/drivers/soc/qcom/apr.c
@@ -88,7 +88,7 @@ void gpr_free_port(gpr_port_t *port)
EXPORT_SYMBOL_GPL(gpr_free_port);
gpr_port_t *gpr_alloc_port(struct apr_device *gdev, struct device *dev,
- gpr_port_cb cb, void *priv)
+ gpr_port_cb cb, void *priv)
{
struct packet_router *pr = dev_get_drvdata(gdev->dev.parent);
gpr_port_t *port;
@@ -159,7 +159,7 @@ static void apr_dev_release(struct device *dev)
}
static int apr_callback(struct rpmsg_device *rpdev, void *buf,
- int len, void *priv, u32 addr)
+ int len, void *priv, u32 addr)
{
struct packet_router *apr = dev_get_drvdata(&rpdev->dev);
struct apr_rx_buf *abuf;
@@ -222,9 +222,9 @@ static int apr_do_rx_callback(struct packet_router *apr, struct apr_rx_buf *abuf
}
if (hdr->src_domain >= APR_DOMAIN_MAX ||
- hdr->dest_domain >= APR_DOMAIN_MAX ||
- hdr->src_svc >= APR_SVC_MAX ||
- hdr->dest_svc >= APR_SVC_MAX) {
+ hdr->dest_domain >= APR_DOMAIN_MAX ||
+ hdr->src_svc >= APR_SVC_MAX ||
+ hdr->dest_svc >= APR_SVC_MAX) {
dev_err(apr->dev, "APR: Wrong APR header\n");
return -EINVAL;
}
--
2.46.0
next reply other threads:[~2024-09-04 5:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 5:47 Riyan Dhiman [this message]
2024-09-04 7:43 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240904054735.7952-1-riyandhiman14@gmail.com \
--to=riyandhiman14@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=andersson@kernel.org \
--cc=bgoswami@quicinc.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®