Skip to contentSkip to conversation

mm-z3fold-add-kerneldoc-fields-for-z3fold_pool.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 6, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/z3fold: add kerneldoc fields for z3fold_pool
has been removed from the -mm tree. Its filename was
mm-z3fold-add-kerneldoc-fields-for-z3fold_pool.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm/z3fold: add kerneldoc fields for z3fold_pool

make W=1 generates the following warning for z3fold_pool

mm/z3fold.c:171: warning: Function parameter or member 'zpool' not described in 'z3fold_pool' mm/z3fold.c:171: warning: Function parameter or member 'zpool_ops' not described in 'z3fold_pool'

Commit 9a001fc19ccc ("z3fold: the 3-fold allocator for compressed pages") simply did not document the fields at the time. Add rudimentary documentation.

---

 mm/z3fold.c |    2 ++
 1 file changed, 2 insertions(+)
mm/z3fold.c renamed from mm/z3fold.c~mm-z3fold-add-kerneldoc-fields-for-z3fold_pool +2 -0
@@ -144,6 +144,8 @@ struct z3fold_header {
  * @c_handle:	cache for z3fold_buddy_slots allocation
  * @ops:	pointer to a structure of user defined operations specified at
  *		pool creation time.
+ * @zpool:	zpool driver
+ * @zpool_ops:	zpool operations structure with an evict callback
  * @compact_wq:	workqueue for page layout background optimization
  * @release_wq:	workqueue for safe page release
  * @work:	work_struct for safe page release

_

Patches currently in -mm which might be from [email protected] are