The patch titled Subject: drivers/block/swim3.c: fix null pointer dereference has been removed from the -mm tree. Its filename was drivers-block-swim3c-fix-null-pointer-dereference.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Cong Ding <dinggnu@xxxxxxxxx> Subject: drivers/block/swim3.c: fix null pointer dereference The use of pointer fs should be after the null check. Signed-off-by: Cong Ding <dinggnu@xxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/swim3.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/block/swim3.c~drivers-block-swim3c-fix-null-pointer-dereference drivers/block/swim3.c --- a/drivers/block/swim3.c~drivers-block-swim3c-fix-null-pointer-dereference +++ a/drivers/block/swim3.c @@ -1090,10 +1090,13 @@ static const struct block_device_operati static void swim3_mb_event(struct macio_dev* mdev, int mb_state) { struct floppy_state *fs = macio_get_drvdata(mdev); - struct swim3 __iomem *sw = fs->swim3; + struct swim3 __iomem *sw; if (!fs) return; + + sw = fs->swim3; + if (mb_state != MB_FD) return; _ Patches currently in -mm which might be from dinggnu@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html