Skip to contentSkip to conversation

zram-trivial-fix-of-recompress_slot-coding-styles.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 21

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: zram: trivial fix of recompress_slot() coding styles
has been removed from the -mm tree. Its filename was
zram-trivial-fix-of-recompress_slot-coding-styles.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Sergey Senozhatsky <[email protected]>
Subject: zram: trivial fix of recompress_slot() coding styles
Date: Mon, 15 Dec 2025 14:47:13 +0900

A minor fixup of 80-cols breakage in recompress_slot() comment and zs_malloc() call.

---

 drivers/block/zram/zram_drv.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
drivers/block/zram/zram_drv.c renamed from drivers/block/zram/zram_drv.c~zram-trivial-fix-of-recompress_slot-coding-styles +6 -5
@@ -2517,14 +2517,15 @@ static int recompress_slot(struct zram *
 	 * avoid direct reclaim.  Allocation error is not fatal since
 	 * we still have the old object in the mem_pool.
 	 *
-	 * XXX: technically, the node we really want here is the node that holds
-	 * the original compressed data. But that would require us to modify
-	 * zsmalloc API to return this information. For now, we will make do with
-	 * the node of the page allocated for recompression.
+	 * XXX: technically, the node we really want here is the node that
+	 * holds the original compressed data. But that would require us to
+	 * modify zsmalloc API to return this information. For now, we will
+	 * make do with the node of the page allocated for recompression.
 	 */
 	handle_new = zs_malloc(zram->mem_pool, comp_len_new,
 			       GFP_NOIO | __GFP_NOWARN |
-			       __GFP_HIGHMEM | __GFP_MOVABLE, page_to_nid(page));
+			       __GFP_HIGHMEM | __GFP_MOVABLE,
+			       page_to_nid(page));
 	if (IS_ERR_VALUE(handle_new)) {
 		zcomp_stream_put(zstrm);
 		return PTR_ERR((void *)handle_new);

_

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

zsmalloc-use-actual-object-size-to-detect-spans.patch zsmalloc-introduce-sg-list-based-object-read-api.patch zsmalloc-introduce-sg-list-based-object-read-api-fix.patch zram-rename-init_lock-to-dev_lock.patch zsmalloc-make-common-caches-global.patch