mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
4636d2781ea7ba39d7fe377fa31c791f74bb155f
Using this patch we are fixing below cert warnings :- 1. cert_err33_c_violation: The error status of function call snprintf(name, 20UL, "ivc-queue%d", i) is not checked. 2. cert_err33_c_violation: The error status of function call snprintf(name, 30UL, "gr-virt-comm-%d", i) is not checked. 3. cert_err33_c_violation: The error status of function call snprintf(name, 20UL, "mempool%d", i) is not checked. Below changes has been done to fix above cert warnings:- 1. check the return value to snprintf function and handle return error gracefully. Bug 3512545 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Ia41ab89e3759387b36489dca5f57652f7389f328 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2676650 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided