gpu: nvgpu: clk: update type for size param

Update interfaces to use size_t to align with boardobj_construct_super()
and avoid unnecessary casts.

JIRA NVGPU-1008

Change-Id: Ib4539239363f106f1fba8d523072b28d0b8369ad
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2011434
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Scott Long <scottl@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2019-02-04 10:49:57 -05:00
committed by mobile promotions
parent 0510641114
commit 2beed190a7
6 changed files with 23 additions and 23 deletions

View File

@@ -951,7 +951,7 @@ static int clk_prog_construct_super(struct gk20a *g,
int status = 0;
status = boardobj_construct_super(g, ppboardobj,
(u16)size, pargs);
size, pargs);
if (status != 0) {
return -EINVAL;
}