mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
User space may erroneously provide extra flags for buffer mappings which always get silently ignored without any error. It would be better to return error to catch cases of ABI mismatches. This patch checks if any extra flags were provided and returns error if this is the case. Jira NVGPU-6640 Bug 3489827 Change-Id: Ib226f049f81bef48bf00656259ed97ba0a3eb47c Signed-off-by: Martin Radev <mradev@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2676684 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit
15 KiB
15 KiB