gpu: nvgpu: Fix MISRA 8.3 violations in nvlink

MISRA rule 8.3 requires that all declarations of a function
shall use the same parameter names and type qualifiers.
Fix 8.3 violations in nvlink code by matching the parameter names
in function declaration and definition.

JIRA NVGPU-1921

Change-Id: I3904ad9f9049bab0395398bf9c2f7e985b7c4d52
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2018195
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Dinesh T <dt@nvidia.com>
Reviewed-by: Raghuram Kothakota <rkothakota@nvidia.com>
Reviewed-by: Adeel Raza <araza@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Tejal Kudav
2019-02-13 15:44:19 +05:30
committed by mobile promotions
parent 0aa55f6741
commit c2906e0535

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -29,10 +29,10 @@ struct gk20a;
/* API */
int tu104_nvlink_rxdet(struct gk20a *g, u32 link_id);
int tu104_nvlink_setup_pll(struct gk20a *g, unsigned long mask);
int tu104_nvlink_setup_pll(struct gk20a *g, unsigned long link_mask);
u32 tu104_nvlink_link_get_tx_sublink_state(struct gk20a *g, u32 link_id);
u32 tu104_nvlink_link_get_rx_sublink_state(struct gk20a *g, u32 link_id);
int tu104_nvlink_minion_data_ready_en(struct gk20a *g, unsigned long mask,
int tu104_nvlink_minion_data_ready_en(struct gk20a *g, unsigned long link_mask,
bool sync);
void tu104_nvlink_get_connected_link_mask(u32 *link_mask);
int tu104_nvlink_speed_config(struct gk20a *g);