mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
nvethernet: Update the osd_dma_ops definition
Issue: qnx and linux uses the same definition
in nvethernetrm. qnx definitions needs
to be changed as per MISRA guidelines
which will cause mismatch in function
definition in linux
Fix: Update the definitions in linux as per
declaration in nvethernetrm
Bug 200770325
Change-Id: Ic9f209a9748780176a7ca6abd1f84f8a31cd321d
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2620813
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
a43d0166c5
commit
644d8c5f24
@@ -539,7 +539,7 @@ exit:
|
||||
*/
|
||||
void osd_receive_packet(void *priv, struct osi_rx_ring *rx_ring,
|
||||
unsigned int chan, unsigned int dma_buf_len,
|
||||
struct osi_rx_pkt_cx *rx_pkt_cx,
|
||||
const struct osi_rx_pkt_cx *rx_pkt_cx,
|
||||
struct osi_rx_swcx *rx_swcx)
|
||||
{
|
||||
struct ether_priv_data *pdata = (struct ether_priv_data *)priv;
|
||||
@@ -693,7 +693,8 @@ static inline unsigned int ether_get_free_tx_ts_node(struct ether_priv_data *pda
|
||||
*/
|
||||
static void osd_transmit_complete(void *priv, void *buffer, unsigned long dmaaddr,
|
||||
unsigned int len,
|
||||
struct osi_txdone_pkt_cx *txdone_pkt_cx)
|
||||
const struct osi_txdone_pkt_cx
|
||||
*txdone_pkt_cx)
|
||||
{
|
||||
struct ether_priv_data *pdata = (struct ether_priv_data *)priv;
|
||||
struct osi_dma_priv_data *osi_dma = pdata->osi_dma;
|
||||
|
||||
Reference in New Issue
Block a user