The patch titled Subject: mm/zswap: fix variable 'entry' is uninitialized when used has been removed from the -mm tree. Its filename was mm-zswap-fix-variable-entry-is-uninitialized-when-used.patch This patch was dropped because it was folded into mm-zswap-add-the-flag-can_sleep_mapped.patch ------------------------------------------------------ From: Tian Tao <tiantao6@xxxxxxxxxxxxx> Subject: mm/zswap: fix variable 'entry' is uninitialized when used the entry has not been initialized when it is used, so allocate PAGE_SIZE Link: https://lkml.kernel.org/r/1611223030-58346-1-git-send-email-tiantao6@xxxxxxxxxxxxx Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Cc: Vitaly Wool <vitaly.wool@xxxxxxxxxxxx> Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Cc: Mike Galbraith <efault@xxxxxx> Cc: Barry Song <song.bao.hua@xxxxxxxxxxxxx> Cc: Dan Streetman <ddstreet@xxxxxxxx> Cc: Seth Jennings <sjenning@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zswap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/mm/zswap.c~mm-zswap-fix-variable-entry-is-uninitialized-when-used +++ a/mm/zswap.c @@ -943,8 +943,7 @@ static int zswap_writeback_entry(struct }; if (!zpool_can_sleep_mapped(pool)) { - - tmp = kmalloc(entry->length, GFP_ATOMIC); + tmp = kmalloc(PAGE_SIZE, GFP_ATOMIC); if (!tmp) return -ENOMEM; } _ Patches currently in -mm which might be from tiantao6@xxxxxxxxxxxxx are mm-zswap-add-the-flag-can_sleep_mapped.patch mm-set-the-sleep_mapped-to-true-for-zbud-and-z3fold.patch