diff for duplicates of <4B4F4EF6.2050202@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 0e0d7eb..2c6c8b6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,8 +13,8 @@ index e4b8231..cb548ee 100644 struct exit_ctl_data *p; p = kvm_get_exit_data(vcpu); -- if (p && p->exit_reason = EXIT_REASON_PAL_CALL) { -+ if (p->exit_reason = EXIT_REASON_PAL_CALL) { +- if (p && p->exit_reason == EXIT_REASON_PAL_CALL) { ++ if (p->exit_reason == EXIT_REASON_PAL_CALL) { p->u.pal_data.ret = result; return ; } @@ -22,8 +22,8 @@ index e4b8231..cb548ee 100644 struct exit_ctl_data *p; p = kvm_get_exit_data(vcpu); -- if (p && p->exit_reason = EXIT_REASON_SAL_CALL) { -+ if (p->exit_reason = EXIT_REASON_SAL_CALL) { +- if (p && p->exit_reason == EXIT_REASON_SAL_CALL) { ++ if (p->exit_reason == EXIT_REASON_SAL_CALL) { p->u.sal_data.ret = result; return ; } @@ -31,8 +31,8 @@ index e4b8231..cb548ee 100644 struct exit_ctl_data *p; p = kvm_get_exit_data(vcpu); -- if (p && (p->exit_reason = EXIT_REASON_PAL_CALL)) -+ if (p->exit_reason = EXIT_REASON_PAL_CALL) +- if (p && (p->exit_reason == EXIT_REASON_PAL_CALL)) ++ if (p->exit_reason == EXIT_REASON_PAL_CALL) index = p->u.pal_data.gr28; return index; @@ -41,7 +41,7 @@ index e4b8231..cb548ee 100644 p = kvm_get_exit_data(vcpu); - if (p) { -- if (p->exit_reason = EXIT_REASON_SAL_CALL) { +- if (p->exit_reason == EXIT_REASON_SAL_CALL) { - *in0 = p->u.sal_data.in0; - *in1 = p->u.sal_data.in1; - *in2 = p->u.sal_data.in2; @@ -52,7 +52,7 @@ index e4b8231..cb548ee 100644 - *in7 = p->u.sal_data.in7; - return ; - } -+ if (p->exit_reason = EXIT_REASON_SAL_CALL) { ++ if (p->exit_reason == EXIT_REASON_SAL_CALL) { + *in0 = p->u.sal_data.in0; + *in1 = p->u.sal_data.in1; + *in2 = p->u.sal_data.in2; diff --git a/a/content_digest b/N1/content_digest index 1322d52..8849b7e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,12 @@ "From\0Roel Kluin <roel.kluin@gmail.com>\0" "Subject\0[PATCH] KVM: remove redundant NULL tests\0" - "Date\0Thu, 14 Jan 2010 17:05:58 +0000\0" - "To\0kvm-ia64@vger.kernel.org\0" + "Date\0Thu, 14 Jan 2010 18:05:58 +0100\0" + "To\0Xiantao Zhang <xiantao.zhang@intel.com>" + kvm-ia64@vger.kernel.org + Andrew Morton <akpm@linux-foundation.org> + " LKML <linux-kernel@vger.kernel.org>\0" + "Cc\0Avi Kivity <avi@redhat.com>" + " kvm@vger.kernel.org\0" "\00:1\0" "b\0" "kvm_get_exit_data() cannot return a NULL pointer.\n" @@ -19,8 +24,8 @@ " \tstruct exit_ctl_data *p;\n" " \n" " \tp = kvm_get_exit_data(vcpu);\n" - "-\tif (p && p->exit_reason = EXIT_REASON_PAL_CALL) {\n" - "+\tif (p->exit_reason = EXIT_REASON_PAL_CALL) {\n" + "-\tif (p && p->exit_reason == EXIT_REASON_PAL_CALL) {\n" + "+\tif (p->exit_reason == EXIT_REASON_PAL_CALL) {\n" " \t\tp->u.pal_data.ret = result;\n" " \t\treturn ;\n" " \t}\n" @@ -28,8 +33,8 @@ " \tstruct exit_ctl_data *p;\n" " \n" " \tp = kvm_get_exit_data(vcpu);\n" - "-\tif (p && p->exit_reason = EXIT_REASON_SAL_CALL) {\n" - "+\tif (p->exit_reason = EXIT_REASON_SAL_CALL) {\n" + "-\tif (p && p->exit_reason == EXIT_REASON_SAL_CALL) {\n" + "+\tif (p->exit_reason == EXIT_REASON_SAL_CALL) {\n" " \t\tp->u.sal_data.ret = result;\n" " \t\treturn ;\n" " \t}\n" @@ -37,8 +42,8 @@ " \tstruct exit_ctl_data *p;\n" " \n" " \tp = kvm_get_exit_data(vcpu);\n" - "-\tif (p && (p->exit_reason = EXIT_REASON_PAL_CALL))\n" - "+\tif (p->exit_reason = EXIT_REASON_PAL_CALL)\n" + "-\tif (p && (p->exit_reason == EXIT_REASON_PAL_CALL))\n" + "+\tif (p->exit_reason == EXIT_REASON_PAL_CALL)\n" " \t\tindex = p->u.pal_data.gr28;\n" " \n" " \treturn index;\n" @@ -47,7 +52,7 @@ " \tp = kvm_get_exit_data(vcpu);\n" " \n" "-\tif (p) {\n" - "-\t\tif (p->exit_reason = EXIT_REASON_SAL_CALL) {\n" + "-\t\tif (p->exit_reason == EXIT_REASON_SAL_CALL) {\n" "-\t\t\t*in0 = p->u.sal_data.in0;\n" "-\t\t\t*in1 = p->u.sal_data.in1;\n" "-\t\t\t*in2 = p->u.sal_data.in2;\n" @@ -58,7 +63,7 @@ "-\t\t\t*in7 = p->u.sal_data.in7;\n" "-\t\t\treturn ;\n" "-\t\t}\n" - "+\tif (p->exit_reason = EXIT_REASON_SAL_CALL) {\n" + "+\tif (p->exit_reason == EXIT_REASON_SAL_CALL) {\n" "+\t\t*in0 = p->u.sal_data.in0;\n" "+\t\t*in1 = p->u.sal_data.in1;\n" "+\t\t*in2 = p->u.sal_data.in2;\n" @@ -72,4 +77,4 @@ " \t*in0 = 0;\n" } -a9a8d25c8df960c56bd69776e001eb2469eef3ea6cf77e700a6aced8ea70a99d +6d009ac8a34d7556c657852ebb89fe74944fcd0e07d783d9441560c4fede75d1
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.