Skip to contentSkip to conversation

libceph: Fix comment typo

PATCH Applied Jason Wang 2 participants 2 messages Jul 24, 2022 – Jul 26, 2022

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 libceph: Fix comment typo

The double `without' is duplicated in the comment, remove one.

---
 net/ceph/pagelist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ceph/pagelist.c +1 -1
index 65e34f78b05d..74622b278d57 100644
@@ -96,7 +96,7 @@ int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
 EXPORT_SYMBOL(ceph_pagelist_append);
 
 /* Allocate enough pages for a pagelist to append the given amount
- * of data without without allocating.
+ * of data without allocating.
  * Returns: 0 on success, -ENOMEM on error.
  */
 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw
Quoted 22 lines · Jason Wang

The double `without' is duplicated in the comment, remove one.

---
 net/ceph/pagelist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ceph/pagelist.c +1 -2
index 65e34f78b05d..74622b278d57 100644
@@ -96,7 +96,7 @@ int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
 EXPORT_SYMBOL(ceph_pagelist_append);
 
 /* Allocate enough pages for a pagelist to append the given amount
- * of data without without allocating.
+ * of data without allocating.
  * Returns: 0 on success, -ENOMEM on error.
  */
 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)
--
Quoted 2 lines

2.35.1

Applied.

Thanks,

Ilya