Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

misc: fastrpc: Add missing dev_err newlines

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.

Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240705075900.424100-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ekansh Gupta and committed by
Greg Kroah-Hartman
a150c68a f0f53369

+5 -5
+5 -5
drivers/misc/fastrpc.c
··· 325 325 err = qcom_scm_assign_mem(map->phys, map->size, 326 326 &src_perms, &perm, 1); 327 327 if (err) { 328 - dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d", 328 + dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n", 329 329 map->phys, map->size, err); 330 330 return; 331 331 } ··· 816 816 map->attr = attr; 817 817 err = qcom_scm_assign_mem(map->phys, (u64)map->size, &src_perms, dst_perms, 2); 818 818 if (err) { 819 - dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d", 819 + dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d\n", 820 820 map->phys, map->size, err); 821 821 goto map_err; 822 822 } ··· 1222 1222 * that does not support unsigned PD offload 1223 1223 */ 1224 1224 if (!fl->cctx->unsigned_support || !unsigned_pd_request) { 1225 - dev_err(&fl->cctx->rpdev->dev, "Error: Untrusted application trying to offload to signed PD"); 1225 + dev_err(&fl->cctx->rpdev->dev, "Error: Untrusted application trying to offload to signed PD\n"); 1226 1226 return true; 1227 1227 } 1228 1228 } ··· 1280 1280 &src_perms, 1281 1281 fl->cctx->vmperms, fl->cctx->vmcount); 1282 1282 if (err) { 1283 - dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d", 1283 + dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d\n", 1284 1284 fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err); 1285 1285 goto err_map; 1286 1286 } ··· 1332 1332 (u64)fl->cctx->remote_heap->size, 1333 1333 &src_perms, &dst_perms, 1); 1334 1334 if (err) 1335 - dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d", 1335 + dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d\n", 1336 1336 fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err); 1337 1337 } 1338 1338 err_map: