diff options
author | Gordon Bergling <gbe@FreeBSD.org> | 2021-10-16 06:09:31 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2021-10-19 05:27:21 +0000 |
commit | 17ef4736e28d168f30105e7a27c821f7211f1f9a (patch) | |
tree | c0ae434199bb9112861f007b2c466534406623f1 | |
parent | 351cad089f204bb3a706dfefe1720736150778b0 (diff) | |
download | src-17ef4736e28d168f30105e7a27c821f7211f1f9a.tar.gz src-17ef4736e28d168f30105e7a27c821f7211f1f9a.zip |
Fix two typos in source code comments
- s/alocated/allocated/
- s/realocated/reallocated/
(cherry picked from commit 899a3b38f5172d70360396caeebb5b694638282e)
-rw-r--r-- | sys/dev/extres/clk/clk.c | 2 | ||||
-rw-r--r-- | sys/dev/mlx4/mlx4_en/mlx4_en_rx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/extres/clk/clk.c b/sys/dev/extres/clk/clk.c index b26158922d74..b1522eb1d4c2 100644 --- a/sys/dev/extres/clk/clk.c +++ b/sys/dev/extres/clk/clk.c @@ -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. */ diff --git a/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c b/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c index 9e6f4df107bd..8e7c410d1c55 100644 --- a/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c +++ b/sys/dev/mlx4/mlx4_en/mlx4_en_rx.c @@ -857,7 +857,7 @@ out: 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; |