diff for duplicates of <20130131081909.GC14812@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index a84919b..883fbcb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,11 +18,11 @@ index 54a6f38..464b420 100644 + int ret; spin_lock(&lstat->lock); -- if (lstat->last_intr_fail_ip_family = AF_INET6) +- if (lstat->last_intr_fail_ip_family == AF_INET6) - snprintf(buf, 32, "[%s]", lstat->last_intr_fail_ip_addr); - else - snprintf(buf, 32, "%s", lstat->last_intr_fail_ip_addr); -+ if (lstat->last_intr_fail_ip_family = AF_INET6) { ++ if (lstat->last_intr_fail_ip_family == AF_INET6) { + ret = snprintf(page, PAGE_SIZE, "[%s]\n", + lstat->last_intr_fail_ip_addr); + } else { diff --git a/a/content_digest b/N1/content_digest index 4bb08ba..a8b0540 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch 2/2] target: don't truncate the fail intr address\0" - "Date\0Thu, 31 Jan 2013 08:19:09 +0000\0" + "Date\0Thu, 31 Jan 2013 11:19:09 +0300\0" "To\0Nicholas A. Bellinger <nab@linux-iscsi.org>\0" "Cc\0linux-scsi@vger.kernel.org" target-devel@vger.kernel.org @@ -27,11 +27,11 @@ "+\tint ret;\n" " \n" " \tspin_lock(&lstat->lock);\n" - "-\tif (lstat->last_intr_fail_ip_family = AF_INET6)\n" + "-\tif (lstat->last_intr_fail_ip_family == AF_INET6)\n" "-\t\tsnprintf(buf, 32, \"[%s]\", lstat->last_intr_fail_ip_addr);\n" "-\telse\n" "-\t\tsnprintf(buf, 32, \"%s\", lstat->last_intr_fail_ip_addr);\n" - "+\tif (lstat->last_intr_fail_ip_family = AF_INET6) {\n" + "+\tif (lstat->last_intr_fail_ip_family == AF_INET6) {\n" "+\t\tret = snprintf(page, PAGE_SIZE, \"[%s]\\n\",\n" "+\t\t\t lstat->last_intr_fail_ip_addr);\n" "+\t} else {\n" @@ -45,4 +45,4 @@ " }\n" ISCSI_STAT_TGT_ATTR_RO(fail_intr_addr); -d476be18827d40ae5bfc07c691e20feb00193e1995b815767a01d7266f26d335 +fde2f002bc4f3555fdb41a6e27d2000805da9bc46c93df0e425f436c04b93a94
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.