nvsciipc: update kernel message level

update kernel message level from error to info for
nvsciipc_ioctl_reserve_ep.

Bug 5228447
Bug 5119903
JIRA NVIPC-3423
JIRA NVIPC-3427

Change-Id: I75bf39f4bf0b04f8d1e3d527293c1f796fad60dc
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3343579
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jeungwoo Yoo <jeungwooy@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Simon Je <sje@nvidia.com>
This commit is contained in:
Joshua Cha
2025-04-18 07:31:11 +09:00
committed by Jon Hunter
parent 897e587b25
commit 2cdcd7f6a2

View File

@@ -401,7 +401,7 @@ static int nvsciipc_ioctl_reserve_ep(struct nvsciipc *ctx, unsigned int cmd,
/* endpoint is reserved and process is running */ /* endpoint is reserved and process is running */
if (ctx->stat[i]->reserved && task) { if (ctx->stat[i]->reserved && task) {
ERR("%s:RES %s is already reserved by %d\n", __func__, INFO("%s:RES %s is already reserved by %d\n", __func__,
reserve_ep.ep_name, ctx->stat[i]->owner_pid); reserve_ep.ep_name, ctx->stat[i]->owner_pid);
mutex_unlock(&ep_mutex); mutex_unlock(&ep_mutex);
return -EBUSY; return -EBUSY;
@@ -424,7 +424,7 @@ static int nvsciipc_ioctl_reserve_ep(struct nvsciipc *ctx, unsigned int cmd,
if (ctx->stat[i]->reserved && if (ctx->stat[i]->reserved &&
((ctx->stat[i]->owner_pid != current_pid) && task)) { ((ctx->stat[i]->owner_pid != current_pid) && task)) {
ERR("%s:REL %s is already reserved by %d\n", __func__, INFO("%s:REL %s is already reserved by %d\n", __func__,
reserve_ep.ep_name, ctx->stat[i]->owner_pid); reserve_ep.ep_name, ctx->stat[i]->owner_pid);
mutex_unlock(&ep_mutex); mutex_unlock(&ep_mutex);
return -EPERM; return -EPERM;