diff options
Diffstat (limited to 'drivers/gpu/nvgpu/volt/volt_policy.c')
-rw-r--r-- | drivers/gpu/nvgpu/volt/volt_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/volt/volt_policy.c b/drivers/gpu/nvgpu/volt/volt_policy.c index 4f9d7ad8..cc60730d 100644 --- a/drivers/gpu/nvgpu/volt/volt_policy.c +++ b/drivers/gpu/nvgpu/volt/volt_policy.c | |||
@@ -382,7 +382,7 @@ static int _volt_policy_devgrp_pmudata_instget(struct gk20a *g, | |||
382 | 382 | ||
383 | /*check whether pmuboardobjgrp has a valid boardobj in index*/ | 383 | /*check whether pmuboardobjgrp has a valid boardobj in index*/ |
384 | if (((u32)BIT(idx) & | 384 | if (((u32)BIT(idx) & |
385 | pgrp_set->hdr.data.super.obj_mask.super.data[0]) == 0) { | 385 | pgrp_set->hdr.data.super.obj_mask.super.data[0]) == 0U) { |
386 | return -EINVAL; | 386 | return -EINVAL; |
387 | } | 387 | } |
388 | 388 | ||
@@ -402,7 +402,7 @@ static int _volt_policy_devgrp_pmustatus_instget(struct gk20a *g, | |||
402 | 402 | ||
403 | /*check whether pmuboardobjgrp has a valid boardobj in index*/ | 403 | /*check whether pmuboardobjgrp has a valid boardobj in index*/ |
404 | if (((u32)BIT(idx) & | 404 | if (((u32)BIT(idx) & |
405 | p_get_status->hdr.data.super.obj_mask.super.data[0]) == 0) { | 405 | p_get_status->hdr.data.super.obj_mask.super.data[0]) == 0U) { |
406 | return -EINVAL; | 406 | return -EINVAL; |
407 | } | 407 | } |
408 | 408 | ||