diff for duplicates of <20190621091828.GA1878@mwanda> diff --git a/a/1.txt b/N1/1.txt index 371dcb2..f887e16 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -25,7 +25,7 @@ index 4964561595f5..9e9f4347a325 100644 @@ -885,11 +886,11 @@ static int sca3000_read_event_value(struct iio_dev *indio_dev, return ret; *val = 0; - if (chan->channel2 = IIO_MOD_Y) + if (chan->channel2 == IIO_MOD_Y) - for_each_set_bit(i, (unsigned long *)&ret, + for_each_set_bit(i, &ret, ARRAY_SIZE(st->info->mot_det_mult_y)) diff --git a/a/content_digest b/N1/content_digest index 687e0aa..1889b5d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] iio: sca3000: Potential endian bug in sca3000_read_event_value()\0" - "Date\0Fri, 21 Jun 2019 09:18:28 +0000\0" + "Date\0Fri, 21 Jun 2019 12:18:28 +0300\0" "To\0Jonathan Cameron <jic23@kernel.org>\0" "Cc\0Hartmut Knaack <knaack.h@gmx.de>" Lars-Peter Clausen <lars@metafoo.de> @@ -37,7 +37,7 @@ "@@ -885,11 +886,11 @@ static int sca3000_read_event_value(struct iio_dev *indio_dev,\n" " \t\t\treturn ret;\n" " \t\t*val = 0;\n" - " \t\tif (chan->channel2 = IIO_MOD_Y)\n" + " \t\tif (chan->channel2 == IIO_MOD_Y)\n" "-\t\t\tfor_each_set_bit(i, (unsigned long *)&ret,\n" "+\t\t\tfor_each_set_bit(i, &ret,\n" " \t\t\t\t\t ARRAY_SIZE(st->info->mot_det_mult_y))\n" @@ -51,4 +51,4 @@ "-- \n" 2.20.1 -4932bfe090f68a396b60924bfc36521e0b18e310086f425d9b7bc63c76702005 +67e9d7a2c5a411fdfc101aa02beb92f4b306f06965767759bfddbf1e42a612bc
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.