Make valdiate_rx_req_id static inline because it uses other static
inline functions. gcc complains about this, most likely due to the subtle differences between inline and static inline functions defined in headers.
This commit is contained in:
parent
ed6ee7405b
commit
253fecaed9
@ -489,9 +489,8 @@ void ena_down(struct ena_adapter *);
|
||||
int ena_restore_device(struct ena_adapter *);
|
||||
void ena_destroy_device(struct ena_adapter *, bool);
|
||||
int ena_refill_rx_bufs(struct ena_ring *, uint32_t);
|
||||
inline int validate_rx_req_id(struct ena_ring *, uint16_t);
|
||||
|
||||
inline int
|
||||
static inline int
|
||||
validate_rx_req_id(struct ena_ring *rx_ring, uint16_t req_id)
|
||||
{
|
||||
if (likely(req_id < rx_ring->ring_size))
|
||||
|
Loading…
x
Reference in New Issue
Block a user