Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Caleb Connolly <caleb.connolly@linaro.org>
To: Ekansh Gupta <quic_ekangupt@quicinc.com>,
	srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org
Cc: gregkh@linuxfoundation.org, quic_bkumar@quicinc.com,
	linux-kernel@vger.kernel.org, quic_chennak@quicinc.com,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: Re: [PATCH v4 01/11] misc: fastrpc: Add missing dev_err newlines
Date: Fri, 7 Jun 2024 14:41:02 +0200	[thread overview]
Message-ID: <1c85847f-ea6d-437e-ac15-93346d414761@linaro.org> (raw)
In-Reply-To: <20240606165939.12950-2-quic_ekangupt@quicinc.com>



On 06/06/2024 18:59, Ekansh Gupta wrote:
> Few dev_err calls are missing newlines. This can result in unrelated
> lines getting appended which might make logs difficult to understand.
> Add trailing newlines to avoid this.
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>

Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>   drivers/misc/fastrpc.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
> index 4c67e2c5a82e..4028cb96bcf2 100644
> --- a/drivers/misc/fastrpc.c
> +++ b/drivers/misc/fastrpc.c
> @@ -325,7 +325,7 @@ static void fastrpc_free_map(struct kref *ref)
>   			err = qcom_scm_assign_mem(map->phys, map->size,
>   				&src_perms, &perm, 1);
>   			if (err) {
> -				dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
> +				dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n",
>   						map->phys, map->size, err);
>   				return;
>   			}
> @@ -816,7 +816,7 @@ static int fastrpc_map_create(struct fastrpc_user *fl, int fd,
>   		map->attr = attr;
>   		err = qcom_scm_assign_mem(map->phys, (u64)map->size, &src_perms, dst_perms, 2);
>   		if (err) {
> -			dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d",
> +			dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d\n",
>   					map->phys, map->size, err);
>   			goto map_err;
>   		}
> @@ -1222,7 +1222,7 @@ static bool is_session_rejected(struct fastrpc_user *fl, bool unsigned_pd_reques
>   		 * that does not support unsigned PD offload
>   		 */
>   		if (!fl->cctx->unsigned_support || !unsigned_pd_request) {
> -			dev_err(&fl->cctx->rpdev->dev, "Error: Untrusted application trying to offload to signed PD");
> +			dev_err(&fl->cctx->rpdev->dev, "Error: Untrusted application trying to offload to signed PD\n");
>   			return true;
>   		}
>   	}
> @@ -1285,7 +1285,7 @@ static int fastrpc_init_create_static_process(struct fastrpc_user *fl,
>   							&src_perms,
>   							fl->cctx->vmperms, fl->cctx->vmcount);
>   			if (err) {
> -				dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d",
> +				dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d\n",
>   					fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err);
>   				goto err_map;
>   			}
> @@ -1337,7 +1337,7 @@ static int fastrpc_init_create_static_process(struct fastrpc_user *fl,
>   						(u64)fl->cctx->remote_heap->size,
>   						&src_perms, &dst_perms, 1);
>   		if (err)
> -			dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
> +			dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n",
>   				fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err);
>   	}
>   err_map:

-- 
// Caleb (they/them)

  reply	other threads:[~2024-06-07 12:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 16:59 [PATCH v4 00/11] Add missing features to FastRPC driver Ekansh Gupta
2024-06-06 16:59 ` [PATCH v4 01/11] misc: fastrpc: Add missing dev_err newlines Ekansh Gupta
2024-06-07 12:41   ` Caleb Connolly [this message]
2024-06-06 16:59 ` [PATCH v4 02/11] misc: fastrpc: Fix DSP capabilities request Ekansh Gupta
2024-06-07 11:08   ` Dmitry Baryshkov
2024-06-07 12:39   ` Caleb Connolly
2024-06-06 16:59 ` [PATCH v4 03/11] misc: fastrpc: Copy the complete capability structure to user Ekansh Gupta
2024-06-07 11:09   ` Dmitry Baryshkov
2024-06-07 12:42   ` Caleb Connolly
2024-06-06 16:59 ` [PATCH v4 04/11] misc: fastrpc: Avoid updating PD type for capability request Ekansh Gupta
2024-06-07 11:12   ` Dmitry Baryshkov
2024-06-07 12:43   ` Caleb Connolly
2024-06-06 16:59 ` [PATCH v4 05/11] misc: fastrpc: Add static PD restart support Ekansh Gupta
2024-06-07 11:25   ` Dmitry Baryshkov
2024-06-10  9:05     ` Ekansh Gupta
2024-06-10 18:24       ` Dmitry Baryshkov
2024-06-07 13:45   ` Caleb Connolly
2024-06-10  9:07     ` Ekansh Gupta
2024-06-06 16:59 ` [PATCH v4 06/11] misc: fastrpc: Fix memory leak in audio daemon attach operation Ekansh Gupta
2024-06-07 11:28   ` Dmitry Baryshkov
2024-06-10  9:08     ` Ekansh Gupta
2024-06-06 16:59 ` [PATCH v4 07/11] misc: fastrpc: Redesign remote heap management Ekansh Gupta
2024-06-07 11:35   ` Dmitry Baryshkov
2024-06-06 16:59 ` [PATCH v4 08/11] misc: fastrpc: Fix ownership reassignment of remote heap Ekansh Gupta
2024-06-07 11:36   ` Dmitry Baryshkov
2024-06-06 16:59 ` [PATCH v4 09/11] misc: fastrpc: Fix remote heap alloc and free user request Ekansh Gupta
2024-06-07 11:41   ` Dmitry Baryshkov
2024-06-06 16:59 ` [PATCH v4 10/11] misc: fastrpc: Fix unsigned PD support Ekansh Gupta
2024-06-07 11:46   ` Dmitry Baryshkov
2024-06-06 16:59 ` [PATCH v4 11/11] misc: fastrpc: Restrict untrusted app to attach to privileged PD Ekansh Gupta
2024-06-07 11:50 ` [PATCH v4 00/11] Add missing features to FastRPC driver Dmitry Baryshkov

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=1c85847f-ea6d-437e-ac15-93346d414761@linaro.org \
    --to=caleb.connolly@linaro.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_bkumar@quicinc.com \
    --cc=quic_chennak@quicinc.com \
    --cc=quic_ekangupt@quicinc.com \
    --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