Add fix to misra & cert errors for ethernet server

Bug 2694285

Change-Id: I6b899538ed92f67351cc21ccbb900d842e91ad5d
Signed-off-by: Nagaraj annaiah <nannaiah@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2486524
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
nannaiah
2021-02-18 08:18:19 -08:00
committed by Bhadram Varka
parent 7214b9fc7d
commit 22b25f8b97
3 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@
/**
* @brief IVC commands between OSD & OSI.
*/
enum ivc_cmd {
typedef enum ivc_cmd {
poll_for_swr = 1,
core_init,
core_deinit,
@@ -85,7 +85,7 @@ enum ivc_cmd {
set_mdc_clk_rate,
config_mac_loopback,
#endif /* !OSI_STRIPPED_LIB */
};
}ivc_cmd;
/**
* @brief IVC arguments structure.
@@ -133,11 +133,11 @@ typedef struct ivc_msg_common {
* Status code returned as part of response message of IVC messages.
* Status code value is "0" for success and "< 0" for failure.
*/
nveu32_t status;
nve32_t status;
/**
* ID of the CMD.
*/
nveu32_t cmd;
ivc_cmd cmd;
/**
* message count, used for debug
*/