diff for duplicates of <1451784858.4334.12.camel@perches.com> diff --git a/a/1.txt b/N1/1.txt index db43a76..5f0b911 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,7 +10,7 @@ duplication or snprintf logic to kstrdup/kasprintf This: - if (num_queues = 1) { + if (num_queues == 1) { xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); if (!xspath) { xenbus_dev_fatal(dev, -ENOMEM, @@ -32,15 +32,10 @@ This: could be simplified to something like: - if (num_queues = 1) + if (num_queues == 1) xspath = kstrdup(dev->otherend, GFP_KERNEL); else xspath = kasprintf(GFP_KERNEL, "%s/queue-%u", dev->otherend, queue->id); if (!xspath) etc... - --- -To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index ac72ab4..3591dfa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\056880DD4.2090806@users.sourceforge.net\0" "From\0Joe Perches <joe@perches.com>\0" "Subject\0Re: [PATCH 0/5] xen-netback: Fine-tuning for three function implementations\0" - "Date\0Sun, 03 Jan 2016 01:34:18 +0000\0" + "Date\0Sat, 02 Jan 2016 17:34:18 -0800\0" "To\0SF Markus Elfring <elfring@users.sourceforge.net>" xen-devel@lists.xenproject.org netdev@vger.kernel.org @@ -25,7 +25,7 @@ "\n" "This:\n" "\n" - "\tif (num_queues = 1) {\n" + "\tif (num_queues == 1) {\n" "\t\txspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL);\n" "\t\tif (!xspath) {\n" "\t\t\txenbus_dev_fatal(dev, -ENOMEM,\n" @@ -47,17 +47,12 @@ "\n" "could be simplified to something like:\n" "\n" - "\tif (num_queues = 1)\n" + "\tif (num_queues == 1)\n" "\t\txspath = kstrdup(dev->otherend, GFP_KERNEL);\n" "\telse\n" "\t\txspath = kasprintf(GFP_KERNEL, \"%s/queue-%u\",\n" "\t\t\t\t dev->otherend, queue->id);\n" "\tif (!xspath)\n" - "\t\tetc...\n" - "\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + "\t\tetc..." -31b04f6c1ea07aecb23fc174649cbe1079cf466d805cb0277890422e1d823add +d735d935aadebb3b3915ff9b0e5db07bf22283feabb09240ed9d163b18b79b11
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.