mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ecfef7f86295d1d53418bf5a8d1915190bf3fc52
using this patch fixing below cert & misra errors:- - cert_exp39_c_violation: Accessing an object through a pointer "nlh" whose type "struct nlmsghdr *" is incompatible with the type of the object. - cert_int08_c_violation: Signed integer operation "count += snprintf(buf + count, 4096UL - count, "%u ", data->wait_for_guests[i])" may overflow. - cert_int08_c_violation: Unsigned integer operation "4096UL - count" may wrap. - cert_int08_c_violation: Signed integer operation "count += snprintf(buf + count, 4096UL - count, "\n")" may overflow. - cert_int32_c_violation: Signed integer operation "count += snprintf(buf + count, 4096UL - count, "%u ", data->wait_for_guests[i])" may overflow. - cert_int32_c_violation: Signed integer operation "count += snprintf(buf + count, 4096UL - count, "\n")" may overflow. - cert_str07_c_violation: Using unsafe interface "strncpy" instead of "strncpy_s" for string manipulation. - missing_lock: Accessing "user_client_count" without holding lock "netlink_lock". Elsewhere, "user_client_count" is written to with "netlink_lock" held 1 out of 1 times. JIRA ESLC-8381 Change-Id: I2f84aa09b3a940cabda62a2391e782108755c80b Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3304762 Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Description
No description provided