mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Fix signed comparison bugs
Fix small problems related to signed versus unsigned comparisons throughout the driver. Bump up the warning level to prevent such problems from occuring in future. Change-Id: I8ff5efb419f664e8a2aedadd6515ae4d18502ae0 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1252068 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5494e846c7
commit
d29afd2c9e
@@ -928,7 +928,7 @@ struct nvgpu_dbg_gpu_suspend_resume_contexts_args {
|
||||
*/
|
||||
|
||||
#define NVGPU_IOCTL_MAGIC 'H'
|
||||
#define NVGPU_NO_TIMEOUT (-1)
|
||||
#define NVGPU_NO_TIMEOUT ((u32)~0)
|
||||
#define NVGPU_PRIORITY_LOW 50
|
||||
#define NVGPU_PRIORITY_MEDIUM 100
|
||||
#define NVGPU_PRIORITY_HIGH 150
|
||||
|
||||
Reference in New Issue
Block a user