diff for duplicates of <1064526609144@kroah.com> diff --git a/a/1.txt b/N1/1.txt index a7f8cdd..4c143fd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -275,11 +275,11 @@ diff -Nru a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c + + /* Detect the Vaio nature of EEPROMs. + We use the "PCG-" prefix as the signature. */ -+ if (address = 0x57) { -+ if (i2c_smbus_read_byte_data(new_client, 0x80) = 'P' && -+ i2c_smbus_read_byte_data(new_client, 0x81) = 'C' && -+ i2c_smbus_read_byte_data(new_client, 0x82) = 'G' && -+ i2c_smbus_read_byte_data(new_client, 0x83) = '-') ++ if (address == 0x57) { ++ if (i2c_smbus_read_byte_data(new_client, 0x80) == 'P' && ++ i2c_smbus_read_byte_data(new_client, 0x81) == 'C' && ++ i2c_smbus_read_byte_data(new_client, 0x82) == 'G' && ++ i2c_smbus_read_byte_data(new_client, 0x83) == '-') + nature = VAIO; + } + diff --git a/a/content_digest b/N1/content_digest index 9162fb2..54093e6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010645266092538@kroah.com\0" - "ref\01064526609700@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] More i2c driver fixes for 2.6.0-test5\0" - "Date\0Thu, 19 May 2005 06:24:19 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] More i2c driver fixes for 2.6.0-test5\0" + "Date\0Thu, 25 Sep 2003 14:50:09 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -284,11 +283,11 @@ "+\n" "+\t/* Detect the Vaio nature of EEPROMs.\n" "+\t We use the \"PCG-\" prefix as the signature. */\n" - "+\tif (address = 0x57) {\n" - "+\t\tif (i2c_smbus_read_byte_data(new_client, 0x80) = 'P' && \n" - "+\t\t i2c_smbus_read_byte_data(new_client, 0x81) = 'C' && \n" - "+\t\t i2c_smbus_read_byte_data(new_client, 0x82) = 'G' &&\n" - "+\t\t i2c_smbus_read_byte_data(new_client, 0x83) = '-')\n" + "+\tif (address == 0x57) {\n" + "+\t\tif (i2c_smbus_read_byte_data(new_client, 0x80) == 'P' && \n" + "+\t\t i2c_smbus_read_byte_data(new_client, 0x81) == 'C' && \n" + "+\t\t i2c_smbus_read_byte_data(new_client, 0x82) == 'G' &&\n" + "+\t\t i2c_smbus_read_byte_data(new_client, 0x83) == '-')\n" "+\t\t\tnature = VAIO;\n" "+\t}\n" "+\n" @@ -358,4 +357,4 @@ "+module_init(eeprom_init);\n" +module_exit(eeprom_exit); -6fa516c8cb639030b436f2e2106942260cd5bec883d724c40630be38ac97d605 +12a33d7ea598e3e71fea9e92f89bfc8290c6f3e5b51b3b3961d95ef27a833885
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.