rds: Fix spelling mistakes
Fix some spelling mistakes in comments:
alloced ==> allocated
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Link: https://lore.kernel.org/r/20210531063617.3018637-1-zhengyongjun3@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
diff --git a/net/rds/ib_ring.c b/net/rds/ib_ring.c
index ff97e8e..006b2e4 100644
--- a/net/rds/ib_ring.c
+++ b/net/rds/ib_ring.c
@@ -141,7 +141,7 @@ int rds_ib_ring_low(struct rds_ib_work_ring *ring)
}
/*
- * returns the oldest alloced ring entry. This will be the next one
+ * returns the oldest allocated ring entry. This will be the next one
* freed. This can't be called if there are none allocated.
*/
u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring)