From e04421688ca6c87e6d28eca1a6b889f361e930a3 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 13 Sep 2013 10:56:25 +0300 Subject: [PATCH] skd: use after free bugs in debug code We've freed "skdev" but the debug code dereferences it. I've just removed the printk() entirely. Signed-off-by: Dan Carpenter Signed-off-by: Jens Axboe --- drivers/block/skd_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index dfd05a941e67..f892d95dd884 100644 --- a/drivers/block/skd_main.c +++ b/drivers/block/skd_main.c @@ -4919,8 +4919,6 @@ static void skd_destruct(struct skd_device *skdev) VPRINTK(skdev, "skdev\n"); kfree(skdev); - - DPRINTK(skdev, "VICTORY\n"); } static void skd_free_skcomp(struct skd_device *skdev) -- 2.39.5