]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: comedi: logical || vs bitwise |
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Jan 2012 07:31:13 +0000 (10:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 18:02:22 +0000 (10:02 -0800)
commit3c59515ade2b1c0d232efae8a3809ef67ed42906
tree4c74465b60e9bd97718f446958d86483c31950e8
parentf8762d9c2bc3ee1f9b6cdf48fc14183772c06103
Staging: comedi: logical || vs bitwise |

These are bitfields and the intend was to OR them together.  A logical
OR here is simply 1.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c