]> 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)
commite99006c49fe44270a0eb347123da5f8b8d48879d
tree4c74465b60e9bd97718f446958d86483c31950e8
parent2b151114693a239829b1b8c3fd9d4205949634b3
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