diff for duplicates of <20110516153900.GA31255@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index a7cdd4c..670490f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -307,7 +307,7 @@ per-sensor attributes. > + int i; > + > + adc = kzalloc(sizeof(struct as1531), GFP_KERNEL); -> + if (adc = NULL) +> + if (adc == NULL) > + return -ENOMEM; > + > + mutex_init(&adc->lock); @@ -400,9 +400,4 @@ In other words, if this lock is really needed, you are in big trouble. > +MODULE_DESCRIPTION("Driver for AS1531 ADC"); > -- > 1.7.0.4 -> - -_______________________________________________ -lm-sensors mailing list -lm-sensors@lm-sensors.org -http://lists.lm-sensors.org/mailman/listinfo/lm-sensors +> diff --git a/a/content_digest b/N1/content_digest index 71232b7..ae0c050 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01305553154-18195-2-git-send-email-fabien.marteau@armadeus.com\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH] hwmon: Driver for as1531,\0" - "Date\0Mon, 16 May 2011 15:39:00 +0000\0" + "Subject\0Re: [PATCH] hwmon: Driver for as1531, Austria-Microsystem Analog to Digital Converter.\0" + "Date\0Mon, 16 May 2011 08:39:00 -0700\0" "To\0fabien.marteau@armadeus.com <fabien.marteau@armadeus.com>\0" "Cc\0khali@linux-fr.org <khali@linux-fr.org>" lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org> @@ -317,7 +317,7 @@ "> +\tint i;\n" "> +\n" "> +\tadc = kzalloc(sizeof(struct as1531), GFP_KERNEL);\n" - "> +\tif (adc = NULL)\n" + "> +\tif (adc == NULL)\n" "> +\t\treturn -ENOMEM;\n" "> +\n" "> +\tmutex_init(&adc->lock);\n" @@ -410,11 +410,6 @@ "> +MODULE_DESCRIPTION(\"Driver for AS1531 ADC\");\n" "> -- \n" "> 1.7.0.4\n" - "> \n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + > -7b1bc6399294a51689175be0839d7e8154979fa2f6c4678df0a3ddbd1dcde88e +22016da731768bc9ec8f065b18872da09172f5a79dc896a8cf3dc3b846467b18
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.