core: remove void input argument

- Changed void input arguments to proper type
- Modifed ivc_msg_common to ivc_msg_common_t

Bug 2739123

Change-Id: Id7964440f6c5d377ba3dd1a7661a2571fdc681d8
Signed-off-by: rakesh goyal <rgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2514922
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
This commit is contained in:
rakesh goyal
2021-03-24 20:44:08 +05:30
committed by Bhadram Varka
parent f42484e941
commit 1df7709f40
5 changed files with 66 additions and 61 deletions

View File

@@ -185,13 +185,13 @@ typedef struct ivc_msg_common {
*/
struct osi_ioctl ioctl_data;
}data;
} ivc_msg_common;
} ivc_msg_common_t;
/**
* @brief osd_ivc_send_cmd - OSD ivc send cmd
*
* @param[in] priv: OSD private data
* @param[in] data: data
* @param[in] ivc_buf: ivc_msg_common structure
* @param[in] len: length of data
* @note
* API Group:
@@ -202,7 +202,8 @@ typedef struct ivc_msg_common {
* @retval ivc status
* @retval -1 on failure
*/
nve32_t osd_ivc_send_cmd(void *priv, void *data, nveu32_t len);
nve32_t osd_ivc_send_cmd(void *priv, ivc_msg_common_t *ivc_buf,
nveu32_t len);
/**
* @brief ivc_get_core_safety_config - Get core safety config