diff for duplicates of <20100721035943.GF16676@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 22e4042..8003940 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -34,14 +34,14 @@ file. > + while ((dmi = dmi_find_device(DMI_DEV_TYPE_DEV_ONBOARD, > + NULL, dmi)) != NULL) { > + donboard = dmi->device_data; -> + if (donboard && donboard->bus = bus && -> + donboard->devfn = devfn) { +> + if (donboard && donboard->bus == bus && +> + donboard->devfn == devfn) { > + if (buf) { -> + if (attribute = SMBIOS_ATTR_INSTANCE_SHOW) +> + if (attribute == SMBIOS_ATTR_INSTANCE_SHOW) > + return scnprintf(buf, PAGE_SIZE, > + "%d\n", > + donboard->instance); -> + else if (attribute = SMBIOS_ATTR_LABEL_SHOW) +> + else if (attribute == SMBIOS_ATTR_LABEL_SHOW) > + return scnprintf(buf, PAGE_SIZE, > + "%s\n", > + dmi->name); diff --git a/a/content_digest b/N1/content_digest index 1098cbb..998c3bb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\0EDA0A4495861324DA2618B4C45DCB3EE612B93@blrx3m08.blr.amer.dell.com\0" "ref\020100714121345.GA20411@auslistsprd01.us.dell.com\0" "From\0Greg KH <greg@kroah.com>\0" - "Subject\0Re: [PATCH] Export SMBIOS provided firmware instance and label to\0" - "Date\0Wed, 21 Jul 2010 03:59:43 +0000\0" + "Subject\0Re: [PATCH] Export SMBIOS provided firmware instance and label to sysfs\0" + "Date\0Tue, 20 Jul 2010 20:59:43 -0700\0" "To\0Narendra K <Narendra_K@dell.com>\0" "Cc\0netdev@vger.kernel.org" linux-hotplug@vger.kernel.org @@ -49,14 +49,14 @@ "> +\twhile ((dmi = dmi_find_device(DMI_DEV_TYPE_DEV_ONBOARD,\n" "> +\t\t\t\t NULL, dmi)) != NULL) {\n" "> +\t\tdonboard = dmi->device_data;\n" - "> +\t\tif (donboard && donboard->bus = bus &&\n" - "> +\t\t\t\t\tdonboard->devfn = devfn) {\n" + "> +\t\tif (donboard && donboard->bus == bus &&\n" + "> +\t\t\t\t\tdonboard->devfn == devfn) {\n" "> +\t\t\tif (buf) {\n" - "> +\t\t\t\tif (attribute = SMBIOS_ATTR_INSTANCE_SHOW)\n" + "> +\t\t\t\tif (attribute == SMBIOS_ATTR_INSTANCE_SHOW)\n" "> +\t\t\t\t\treturn scnprintf(buf, PAGE_SIZE,\n" "> +\t\t\t\t\t\t\t \"%d\\n\",\n" "> +\t\t\t\t\t\t\t donboard->instance);\n" - "> +\t\t\t\telse if (attribute = SMBIOS_ATTR_LABEL_SHOW)\n" + "> +\t\t\t\telse if (attribute == SMBIOS_ATTR_LABEL_SHOW)\n" "> +\t\t\t\t\treturn scnprintf(buf, PAGE_SIZE,\n" "> +\t\t\t\t\t\t\t \"%s\\n\",\n" "> +\t\t\t\t\t\t\t dmi->name);\n" @@ -168,4 +168,4 @@ "\n" greg k-h -77a09e2815f4b3c7e492248eaee69d0e9290c97fa188bd6794450b2493ac126f +90c944d6de33e67254ecbbfe5700f814e2549166399320ffd7ea3777fbb59145
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.