hvc_sysfs: supporess hvc trace buffer error log

hvc trace buffers logs are being used for collecting
eventlib by hypervisor. Since this is not needed in
prod binary so suppressing the hvc buffer missing error.

Bug 5150377

Change-Id: I567cb2cd3e8b5e7e10a24a57e09221c6014264fc
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3320466
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Ashwin Joshi <asjoshi@nvidia.com>
This commit is contained in:
Manish Bhardwaj
2025-03-17 04:57:11 +00:00
committed by Jon Hunter
parent d3e47da5a4
commit 1fabab5472

View File

@@ -448,9 +448,7 @@ static int __init hvc_sysfs_register(void)
}
ret = hyp_trace_buffer_init();
if (ret != 0)
TEGRA_HV_ERR("Error: Hypervisor trace buffer init failed\n");
else
if (ret == 0)
TEGRA_HV_INFO("Hypervisor trace buffer initialized successfully\n");
ret = hyp_nvlog_buffer_init();