Fix two typos in source code comments
- s/alocated/allocated/ - s/realocated/reallocated/ MFC after: 3 days
This commit is contained in:
parent
461e6f23db
commit
899a3b38f5
@ -1517,7 +1517,7 @@ clk_get_by_ofw_name(device_t dev, phandle_t cnode, const char *name, clk_t *clk)
|
||||
|
||||
/*
|
||||
* Get "clock-output-names" and (optional) "clock-indices" lists.
|
||||
* Both lists are alocated using M_OFWPROP specifier.
|
||||
* Both lists are allocated using M_OFWPROP specifier.
|
||||
*
|
||||
* Returns number of items or 0.
|
||||
*/
|
||||
|
@ -857,7 +857,7 @@ int mlx4_en_process_rx_cq(struct ifnet *dev, struct mlx4_en_cq *cq, int budget)
|
||||
mlx4_cq_set_ci(mcq);
|
||||
wmb(); /* ensure HW sees CQ consumer before we post new buffers */
|
||||
ring->cons = mcq->cons_index;
|
||||
ring->prod += polled; /* Polled descriptors were realocated in place */
|
||||
ring->prod += polled; /* Polled descriptors were reallocated in place */
|
||||
mlx4_en_update_rx_prod_db(ring);
|
||||
return polled;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user