>From f297a05fc27fb0bc9a3ed15407f8cc6ffd5e2a00 Mon Sep 17 00:00:00 2001 From: Bob Liu Date: Wed, 25 Nov 2015 14:56:32 -0500 Subject: [PATCH 1/2] xen:blkfront: fix compile error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix this build error: drivers/block/xen-blkfront.c: In function ‘blkif_free’: drivers/block/xen-blkfront.c:1234:6: error: ‘struct blkfront_info’ has no member named ‘ring’ info->ring = NULL; Signed-off-by: Bob Liu --- drivers/block/xen-blkfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 625604d..ef5ce43 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -1231,7 +1231,7 @@ static void blkif_free(struct blkfront_info *info, int suspend) blkif_free_ring(&info->rinfo[i]); kfree(info->rinfo); - info->ring = NULL; + info->rinfo = NULL; info->nr_rings = 0; } -- 1.8.3.1