rds: Fix spelling mistakes
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 31 May 2021 06:36:17 +0000 (14:36 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 05:45:05 +0000 (22:45 -0700)
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>
net/rds/ib_ring.c
net/rds/tcp_recv.c

index ff97e8eda858bbb2621c1108ab660ecbc0a6fddc..006b2e4414188026cfe80f9bf00685674e6d454f 100644 (file)
@@ -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)
index 42c5ff1eda95f914c7a138b5aed8e11b884776ed..f4ee13da90c7011d7f65a6f96dd4e3fedfa94378 100644 (file)
@@ -177,7 +177,7 @@ static int rds_tcp_data_recv(read_descriptor_t *desc, struct sk_buff *skb,
                                goto out;
                        }
                        tc->t_tinc = tinc;
-                       rdsdebug("alloced tinc %p\n", tinc);
+                       rdsdebug("allocated tinc %p\n", tinc);
                        rds_inc_path_init(&tinc->ti_inc, cp,
                                          &cp->cp_conn->c_faddr);
                        tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_HDR] =