diff for duplicates of <20190622094326.742d3e7e@archlinux> diff --git a/a/1.txt b/N1/1.txt index db01070..7e7f89e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -39,7 +39,7 @@ Jonathan > @@ -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 05fd16e..5822838 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190621091828.GA1878@mwanda\0" "From\0Jonathan Cameron <jic23@kernel.org>\0" "Subject\0Re: [PATCH] iio: sca3000: Potential endian bug in sca3000_read_event_value()\0" - "Date\0Sat, 22 Jun 2019 08:43:26 +0000\0" + "Date\0Sat, 22 Jun 2019 09:43:26 +0100\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Hartmut Knaack <knaack.h@gmx.de>" Lars-Peter Clausen <lars@metafoo.de> @@ -52,7 +52,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" @@ -64,4 +64,4 @@ "> \t\t\t\t*val += st->info->mot_det_mult_xz[i];\n" > -9c60bc0f8340b51e2b2e0f4e1632234f7e4f10b4c72e67fef34a96975c99c81a +7f7cb5330faccf9c2878fb14b52ac9e04b4da972a0a4db516ad0e3e049fab2a5
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.