diff for duplicates of <4933F5F3.6040503@cam.ac.uk> diff --git a/a/1.txt b/N1/1.txt index 4008c47..e783eac 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -107,7 +107,7 @@ index 0000000..b2b9e18 + char *ring_data; + + ring_data = kmalloc(info->current_mode->numvals*2, GFP_KERNEL); -+ if (ring_data == NULL) { ++ if (ring_data = NULL) { + ret = -ENOMEM; + goto error_ret; + } @@ -160,7 +160,7 @@ index 0000000..b2b9e18 + **/ +static int max1363_ring_postenable(struct iio_dev *indio_dev) +{ -+ if (indio_dev->trig == NULL) ++ if (indio_dev->trig = NULL) + return 0; + return iio_trigger_attach_poll_func(indio_dev->trig, + indio_dev->pollfunc); @@ -230,11 +230,11 @@ index 0000000..b2b9e18 + * might as well have this test in here in the meantime as it does + * no harm. + */ -+ if (data->current_mode->numvals == 0) ++ if (data->current_mode->numvals = 0) + return; + + rxbuf = kmalloc(d_size, GFP_KERNEL); -+ if (rxbuf == NULL) ++ if (rxbuf = NULL) + return; + + b_sent = i2c_master_recv(data->client, @@ -261,7 +261,7 @@ index 0000000..b2b9e18 + iio_ring_sw_register_funcs(&data->indio_dev->ring_access); + + indio_dev->pollfunc = kzalloc(sizeof(*indio_dev->pollfunc), GFP_KERNEL); -+ if (indio_dev->pollfunc == NULL) { ++ if (indio_dev->pollfunc = NULL) { + ret = -ENOMEM; + goto error_ret; + } @@ -289,3 +289,8 @@ index 0000000..b2b9e18 + kfree(indio_dev->pollfunc); +} + + +_______________________________________________ +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 8d3649f..d735429 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "ref\04933F291.4020001@cam.ac.uk\0" "From\0Jonathan Cameron <jic23@cam.ac.uk>\0" - "Subject\0[Industrial I/O] [0/13] RFC: Maxim MAX1363 driver (ring buffer support)\0" + "Subject\0[lm-sensors] [Industrial I/O] [0/13] RFC: Maxim MAX1363 driver\0" "Date\0Mon, 01 Dec 2008 14:34:27 +0000\0" "To\0Jonathan Cameron <jic23@cam.ac.uk>\0" "Cc\0LKML <linux-kernel@vger.kernel.org>" @@ -121,7 +121,7 @@ "+\tchar *ring_data;\n" "+\n" "+\tring_data = kmalloc(info->current_mode->numvals*2, GFP_KERNEL);\n" - "+\tif (ring_data == NULL) {\n" + "+\tif (ring_data = NULL) {\n" "+\t\tret = -ENOMEM;\n" "+\t\tgoto error_ret;\n" "+\t}\n" @@ -174,7 +174,7 @@ "+ **/\n" "+static int max1363_ring_postenable(struct iio_dev *indio_dev)\n" "+{\n" - "+\tif (indio_dev->trig == NULL)\n" + "+\tif (indio_dev->trig = NULL)\n" "+\t\treturn 0;\n" "+\treturn iio_trigger_attach_poll_func(indio_dev->trig,\n" "+\t\t\t\t\t indio_dev->pollfunc);\n" @@ -244,11 +244,11 @@ "+\t * might as well have this test in here in the meantime as it does\n" "+\t * no harm.\n" "+\t */\n" - "+\tif (data->current_mode->numvals == 0)\n" + "+\tif (data->current_mode->numvals = 0)\n" "+\t\treturn;\n" "+\n" "+\trxbuf = kmalloc(d_size,\tGFP_KERNEL);\n" - "+\tif (rxbuf == NULL)\n" + "+\tif (rxbuf = NULL)\n" "+\t\treturn;\n" "+\n" "+\tb_sent = i2c_master_recv(data->client,\n" @@ -275,7 +275,7 @@ "+\tiio_ring_sw_register_funcs(&data->indio_dev->ring_access);\n" "+\n" "+\tindio_dev->pollfunc = kzalloc(sizeof(*indio_dev->pollfunc), GFP_KERNEL);\n" - "+\tif (indio_dev->pollfunc == NULL) {\n" + "+\tif (indio_dev->pollfunc = NULL) {\n" "+\t\tret = -ENOMEM;\n" "+\t\tgoto error_ret;\n" "+\t}\n" @@ -302,6 +302,11 @@ "+{\n" "+\tkfree(indio_dev->pollfunc);\n" "+}\n" - + + "+\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -c4dad8c4f13564f61cace2666cf9fd18988f31332939b018645ee907c0d6f5c7 +1d7c3b1cf72617027fd7bc9aba7886b9d98ed932f6d38ec8ac4ca4b4a3006a38
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.