diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2013-02-06 08:29:39 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-02-06 08:31:55 -0200 |
| commit | f85ed0ceeba78b6b15a857ce48888fdb52de28d0 (patch) | |
| tree | 6cf49bd4d9f0cf1786bc0e5a16cd002efd009d5c /tools/perf/scripts/python/sched-migration.py | |
| parent | 6a05d66b8ff1e3a3470186d25cd825dff774bb82 (diff) | |
Revert "[media] drivers/media/usb/dvb-usb/dib0700_core.c: fix left shift"
On Wed, 6 Feb 2013 09:04:39 +0000
Olivier GRENIE <[email protected]> wrote:
> I do not agree with the patch. Let's take an example: adap->id = 0. Then:
> * 1 << ~(adap->id) = 1 << ~(0) = 0
> * ~(1 << adap->id) = ~(1 << 0) = 0xFE
>
> The correct change should be: st->channel_state |= 1 << (1 - adap->id); Indeed, the original source code was not correct.
Requested-by: Olivier GRENIE <[email protected]>
Cc: Patrick Boettcher <[email protected]>
Cc: Nickolai Zeldovich <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions