diff for duplicates of <20170112184504.GA12088@mwanda> diff --git a/a/1.txt b/N1/1.txt index a7aa2c8..dfc20d6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ The problem is this line: pr_debug("vhost_get_vq_desc: head: %d, out: %u in: %u\n", head, out, in); -If "head = vq->num" is true on the first iteration then "out" and "in" +If "head == vq->num" is true on the first iteration then "out" and "in" aren't initialized. We handle that a few lines after the printk. I was tempted to just delete the pr_debug() but I decided to just initialize them to zero instead. diff --git a/a/content_digest b/N1/content_digest index 5f1e659..2a3b4f7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] vhost/scsi: silence uninitialized variable warning\0" - "Date\0Thu, 12 Jan 2017 18:45:04 +0000\0" + "Date\0Thu, 12 Jan 2017 21:45:04 +0300\0" "To\0Michael S. Tsirkin <mst@redhat.com>\0" "Cc\0kernel-janitors@vger.kernel.org" kvm@vger.kernel.org @@ -13,7 +13,7 @@ "\tpr_debug(\"vhost_get_vq_desc: head: %d, out: %u in: %u\\n\",\n" "\t\t head, out, in);\n" "\n" - "If \"head = vq->num\" is true on the first iteration then \"out\" and \"in\"\n" + "If \"head == vq->num\" is true on the first iteration then \"out\" and \"in\"\n" "aren't initialized. We handle that a few lines after the printk. I was\n" "tempted to just delete the pr_debug() but I decided to just initialize\n" "them to zero instead.\n" @@ -37,4 +37,4 @@ " \tsize_t req_size, rsp_size = sizeof(struct virtio_scsi_cmd_resp);\n" " \tsize_t out_size, in_size;" -f6eea34189eddc584bbac669524990a929e428a8f2007b423697037091e5e5b7 +be6e0d9be9e4db499b30ef27c0df3947326f19b5fdaa2a310403f23d769cc056
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.