mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 10:34:24 +03:00
Issue: 1) Code inspection comments for validation base address argument, channel out of bound check and pointer validation missing. 2) Missing debug prints before return. Fix: 1) Fix bugs/issues as per code inspection. check for base address, channel and pointers. 2) Add debug prints to identify error. Bug 200669603 Change-Id: I7e1a235c9aa9249c25a4a02927a9ea13ec3cadf8 Signed-off-by: rakesh goyal <rgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2436154 Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2455383 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit