mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
For getting the buffer size qnx issues a devctl to nvmap which can fail as well. So, check the size that is returned by nvgpu_os_buf_get_size. If 0 size is returned then return -EINVAL to the caller. Jira NVGPU-3891 Change-Id: Id13e7612b044e9228d78469ab4e43961a6877ce8 Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2174458 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
37 KiB
37 KiB