diff for duplicates of <20140514125418.GA14571@mwanda> diff --git a/a/1.txt b/N1/1.txt index 0b47941..b9104f3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,7 +12,7 @@ index 3a0882e..5979ab3 100644 /* Allocate the request queue. */ dd->queue = blk_mq_init_queue(&dd->tags); -- if (dd->queue = NULL) { +- if (dd->queue == NULL) { + if (IS_ERR(dd->queue)) { dev_err(&dd->pdev->dev, "Unable to allocate request queue\n"); diff --git a/a/content_digest b/N1/content_digest index e2c0d4f..d6315d8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] mtip32xx: blk_mq_init_queue() returns an ERR_PTR\0" - "Date\0Wed, 14 May 2014 12:54:18 +0000\0" + "Date\0Wed, 14 May 2014 15:54:18 +0300\0" "To\0Jens Axboe <axboe@fb.com>\0" "Cc\0Asai Thambi S P <asamymuthupa@micron.com>" Sam Bradshaw <sbradshaw@micron.com> @@ -24,10 +24,10 @@ " \n" " \t/* Allocate the request queue. */\n" " \tdd->queue = blk_mq_init_queue(&dd->tags);\n" - "-\tif (dd->queue = NULL) {\n" + "-\tif (dd->queue == NULL) {\n" "+\tif (IS_ERR(dd->queue)) {\n" " \t\tdev_err(&dd->pdev->dev,\n" " \t\t\t\"Unable to allocate request queue\\n\");\n" " \t\trv = -ENOMEM;" -82a1857857138e55c80b5ddfdded87eae11a7a47efbc7f99b2510a584d7626fb +2f1954c8d39961ee8d30c88b1c32a8950563b1c858af526911da84ed664dde23
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.