Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp518222lqt; Thu, 6 Jun 2024 10:00:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURH8j0cy4MiYn/6TaMo6Zgk6+0iDx7s438mtTqQ5CeGBjodpaAal6v6apbNwu0FB3Lsah4ktmEbBc8CjOpIcwLCj9g3cadIud7/R0lIA== X-Google-Smtp-Source: AGHT+IF146EXXaONrsQquHZPuv0jz6q04vpy46UULHrgDsx3DDNkSKW53F19buBqNEaQztOk0o7t X-Received: by 2002:a17:907:9729:b0:a68:a474:b6f with SMTP id a640c23a62f3a-a6cd6f024eamr10504966b.31.1717693241764; Thu, 06 Jun 2024 10:00:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717693241; cv=pass; d=google.com; s=arc-20160816; b=mrLmYX5xq484iPKHvPb6P42wrrBpuQfTeR6LmE5nf02P2pc7rvLbpETZ1Yrdjzrigr GLgQKUsZvXyxb3iu7/uK6r/eHhB5AdyHAgng8JgP6dmXIyRPXyzQm34rBZmHQMJ4oiy0 W+EvyceCcJk3G2C7p4glhBpbWO7HGtuiwDG9EhWJrdVLH02MyAF0Jc1RsmfKB/zbmJT8 aOZTCp8kxFRwAae9c8wVMQjtMxOdgcMkasErtGj9rr5jDNFyCC9BTMf295dCci5UBZNf ONpWH2gAgCOl4iASv/gb77uFZZPiZI3hD8V5OpYW5Iadwtgnb6l6KTjA9NK7fuMYkwCw srEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ZgcGq+gGLMZzRgJ3mrjkWIPtheOdd4pHy1h0aokwgUM=; fh=8s+g1IdWhNAJF77F4x4rOJS2aaEr74yYlRsagUqJx8U=; b=y+fYfcbGg4WTrc8NmOa5HAf+3naDKFp/plxco8rZJpQ/P/yHDSAOCAHXyXK2gGVMbd ZNOlrctcilhpK2P5A1cQDN188ZLnJO3NDEtohhjruyd18Oaq7s/7v+CLdomFUCqRvrvq nJ5VIgzYvX+d4U8PCvb9ZgemYSnDk09q76/bnkI9zKmrXc2x5EqqsmE+74QKEota/v2V S7Mhbh6rgV/jNmNBUxvyU0ebAfrNr/9AvpwlYgPC132/ljui5MGgebbVhlvEdMavC56A 5yrnZN+bH4wXyx93teA5kurZ0JckDhoTLvquSq86gNKXfLrLAGsiuzGP0ar2XXGXeVgn WWsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OP1ymoau; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-204749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204749-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8074b5a8si84601466b.1045.2024.06.06.10.00.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 10:00:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OP1ymoau; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-204749-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204749-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 54BB01F256F4 for ; Thu, 6 Jun 2024 17:00:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57E101990C9; Thu, 6 Jun 2024 16:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OP1ymoau" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 081D5198E8F; Thu, 6 Jun 2024 16:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717693198; cv=none; b=NuTH3awzIAyAHHVJpnzxpG4IMw/PnZPzJqbOJf8ShuwHg6HsxeQVuKCSFHyCc4lyN4UZOegD4M7c3ry2NuyTF4edcQN7XOo2KD8gjfW64axky6OBwxhhOa4RYhB2MckPmmIUAZPQURF9vf5oMR2TgCrxtbl4YkBUJx9G0pIZ9wU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717693198; c=relaxed/simple; bh=H2jWcvpKqbzAnp9/j0WSN87+yx8nAalCoyjprgqfvk4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LhCpy76Q/joirZCeFO/bkETJqnSC9/zQfuD71NFSA+H8Muc3RiHY3f7YIVvtvoC9Hx05piiQ479TqN9KDdVyZfIdGgZ19tjeIwCikuNZJZ6d0t3wnq1kuLyUj/pon0i1PJFM+iK3DMbn/KK5Sf9Cce/LoMPIiDFCYajh/zk0Fm0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=OP1ymoau; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45699eKm016166; Thu, 6 Jun 2024 16:59:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ZgcGq+gGLMZzRgJ3mrjkWIPtheOdd4pHy1h0aokwgUM=; b=OP1ymoauekiW8Jdi Dc2N20655KAVAx6G4tudhdgpdjkGWAAuwD+hoU9+fHhqA1C3Xf+HBBOegD4UyKn9 0KMRIBnDcKmRsl/Tu40yiGlxX7PA8VZO2doYOZbjd50nw6W5dfddV3ZYqc6VGlxz sogWJMEyOb9N31HcQOOPlZh9B67d5pzs6VcMyUClPIVmzn8Ftb51Mc13XPJ9f52/ hf7YYF46OmBf+HF4RL6hSyLmyQEVySNVq7QlCjMW09bIb2mG25Ra0nhAFISsEhPK YstY9naAYEwjZ0J36Aj8CzudcwgyG3AEQaU1MHxTxinm9lCdgYg37pAPT3rROxRH 4dcSEw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yka7p93a0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 16:59:53 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456GxrZO025036 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 16:59:53 GMT Received: from hu-ekangupt-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 09:59:50 -0700 From: Ekansh Gupta To: , CC: , , , , Dmitry Baryshkov Subject: [PATCH v4 01/11] misc: fastrpc: Add missing dev_err newlines Date: Thu, 6 Jun 2024 22:29:21 +0530 Message-ID: <20240606165939.12950-2-quic_ekangupt@quicinc.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240606165939.12950-1-quic_ekangupt@quicinc.com> References: <20240606165939.12950-1-quic_ekangupt@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zxPGcUiu6uY-Z992USAWMRIbqx7B0Dbx X-Proofpoint-ORIG-GUID: zxPGcUiu6uY-Z992USAWMRIbqx7B0Dbx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_13,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 malwarescore=0 adultscore=0 spamscore=0 bulkscore=0 clxscore=1015 phishscore=0 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060120 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 Signed-off-by: Ekansh Gupta --- 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: -- 2.43.0