From a108d3f0368c72f2d553cac1470531677b5a7b88 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 28 Mar 2018 13:39:30 -0700 Subject: gpu: nvgpu: Use u64 for log mask BIT() is defined as returning a 64-bit value. We use it to create the log mask values, but the functions that accept log mask take only u32 as parameter. Use u64 as log mask parameter for the logging functions to match the sizes. Change-Id: I6f0803a7d04ee6a2ee725b5defc4cc14b5b7acf5 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1683818 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b5ebb9ba..d61423d1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -1233,7 +1233,7 @@ struct gk20a { bool suspended; bool sw_ready; - u32 log_mask; + u64 log_mask; u32 log_trace; struct nvgpu_gpu_params params; -- cgit v1.2.2