Fix two typos in source code comments

- s/alocated/allocated/
- s/realocated/reallocated/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2021-10-16 08:09:31 +02:00
parent 461e6f23db
commit 899a3b38f5
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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;