[folded-merged] zram-free-secondary-algorithms-names-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: zram-free-secondary-algorithms-names-v2
has been removed from the -mm tree.  Its filename was
     zram-free-secondary-algorithms-names-v2.patch

This patch was dropped because it was folded into zram-free-secondary-algorithms-names.patch

------------------------------------------------------
From: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
Subject: zram-free-secondary-algorithms-names-v2
Date: Tue, 17 Sep 2024 10:30:05 +0900

kfree(NULL) is legal

Link: https://lkml.kernel.org/r/20240917013021.868769-1-senozhatsky@xxxxxxxxxxxx
Fixes: 001d92735701 ("zram: add recompression algorithm sysfs knob")
Signed-off-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/block/zram/zram_drv.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/block/zram/zram_drv.c~zram-free-secondary-algorithms-names-v2
+++ a/drivers/block/zram/zram_drv.c
@@ -2113,8 +2113,6 @@ static void zram_destroy_comps(struct zr
 	}
 
 	for (prio = ZRAM_SECONDARY_COMP; prio < ZRAM_MAX_COMPS; prio++) {
-		if (!zram->comp_algs[prio])
-			continue;
 		kfree(zram->comp_algs[prio]);
 		zram->comp_algs[prio] = NULL;
 	}
_

Patches currently in -mm which might be from senozhatsky@xxxxxxxxxxxx are

zram-free-secondary-algorithms-names.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux