diff for duplicates of <20120513171214.GD16984@mwanda> diff --git a/a/1.txt b/N1/1.txt index 0154d59..3e65f62 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,7 +2,7 @@ On Sat, May 12, 2012 at 02:36:42PM +0200, walter harms wrote: > > > Am 12.05.2012 12:59, schrieb Dan Carpenter: -> > fault_reason = ARRAY_SIZE(irq_remap_fault_reasons) + 0x20 - 0x20 is one +> > fault_reason == ARRAY_SIZE(irq_remap_fault_reasons) + 0x20 - 0x20 is one > > past the end of the array. > > > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> @@ -11,7 +11,8 @@ On Sat, May 12, 2012 at 02:36:42PM +0200, walter harms wrote: > > index 5ef65cf..9390f3f 100644 > > --- a/drivers/iommu/dmar.c > > +++ b/drivers/iommu/dmar.c -> > @@ -1057,7 +1057,7 @@ static const char *irq_remap_fault_reasons[] > > +> > @@ -1057,7 +1057,7 @@ static const char *irq_remap_fault_reasons[] = +> > > > const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) > > { > > - if (fault_reason >= 0x20 && (fault_reason <= 0x20 + diff --git a/a/content_digest b/N1/content_digest index e9e6b66..e687960 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\04FAE595A.6010605@bfs.de\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [patch] iommu: off by one in dmar_get_fault_reason()\0" - "Date\0Sun, 13 May 2012 17:12:14 +0000\0" + "Date\0Sun, 13 May 2012 20:12:14 +0300\0" "To\0walter harms <wharms@bfs.de>\0" "Cc\0Suresh Siddha <suresh.b.siddha@intel.com>" Ingo Molnar <mingo@elte.hu> @@ -17,7 +17,7 @@ "> \n" "> \n" "> Am 12.05.2012 12:59, schrieb Dan Carpenter:\n" - "> > fault_reason = ARRAY_SIZE(irq_remap_fault_reasons) + 0x20 - 0x20 is one\n" + "> > fault_reason == ARRAY_SIZE(irq_remap_fault_reasons) + 0x20 - 0x20 is one\n" "> > past the end of the array.\n" "> > \n" "> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" @@ -26,7 +26,8 @@ "> > index 5ef65cf..9390f3f 100644\n" "> > --- a/drivers/iommu/dmar.c\n" "> > +++ b/drivers/iommu/dmar.c\n" - "> > @@ -1057,7 +1057,7 @@ static const char *irq_remap_fault_reasons[] > > \n" + "> > @@ -1057,7 +1057,7 @@ static const char *irq_remap_fault_reasons[] =\n" + "> > \n" "> > const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type)\n" "> > {\n" "> > -\tif (fault_reason >= 0x20 && (fault_reason <= 0x20 +\n" @@ -44,4 +45,4 @@ "regards,\n" dan carpenter -ecc03394722b614fefc85d2f0d41fddb0b6eb312c4d7c9cb0e3892adeb0f38ea +9c1f1abf0bcab7398c399df521e7e0d9d8b3af2eed1d41825ca102297c0c431d
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.