mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
nveqos:fix MISRA_C-2012_Rule_8.13 and 10.4 issues
MISRA FIXES ===== DIFF ====== Total misra violation count changed by -21 Rule: MISRA_C-2012_Rule_10.4 Diff: -1 Rule: MISRA_C-2012_Rule_8.13 Diff: -20 Rule: Total Diff: -21 CERT FIXES ===== DIFF ====== Total cert violation count changed by 0 Bug 200770325 Change-Id: Ib6cca8c2eaff5ae8cddd718b2f0c309c6888d4fc Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2605632 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c52ad89f9d
commit
97c73020e2
@@ -28,7 +28,7 @@
|
|||||||
/**
|
/**
|
||||||
* @brief Ethernet Maximum IVC BUF
|
* @brief Ethernet Maximum IVC BUF
|
||||||
*/
|
*/
|
||||||
#define ETHER_MAX_IVC_BUF 2048
|
#define ETHER_MAX_IVC_BUF 2048U
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief IVC maximum arguments
|
* @brief IVC maximum arguments
|
||||||
|
|||||||
@@ -488,11 +488,12 @@ struct osd_dma_ops {
|
|||||||
/** DMA transmit complete callback */
|
/** DMA transmit complete callback */
|
||||||
void (*transmit_complete)(void *priv, void *buffer,
|
void (*transmit_complete)(void *priv, void *buffer,
|
||||||
nveu64_t dmaaddr, nveu32_t len,
|
nveu64_t dmaaddr, nveu32_t len,
|
||||||
struct osi_txdone_pkt_cx *txdone_pkt_cx);
|
const struct osi_txdone_pkt_cx
|
||||||
|
*txdone_pkt_cx);
|
||||||
/** DMA receive packet callback */
|
/** DMA receive packet callback */
|
||||||
void (*receive_packet)(void *priv, struct osi_rx_ring *rx_ring,
|
void (*receive_packet)(void *priv, struct osi_rx_ring *rx_ring,
|
||||||
nveu32_t chan, nveu32_t dma_buf_len,
|
nveu32_t chan, nveu32_t 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 osi_rx_swcx *rx_swcx);
|
||||||
/** RX buffer reallocation callback */
|
/** RX buffer reallocation callback */
|
||||||
void (*realloc_buf)(void *priv, struct osi_rx_ring *rx_ring,
|
void (*realloc_buf)(void *priv, struct osi_rx_ring *rx_ring,
|
||||||
|
|||||||
Reference in New Issue
Block a user