mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
ifr_data pointer value used to carry mii_ioctl_data from user space to kernel space. When all values are zero it reflects the pointer value as zero and ifr_data NULL pointer check will result in failure. Driver should not check since ifr_data pointer value itself represent mii_ioctl_data. So removing the NULL check for ifr_data. Bug 200733774 Change-Id: Ibf405fe22c3e2e694e08eac598e9431066703c3c Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2564428 Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>