mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-25 02:52:22 +03:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user