Staging: xgifb: fix bitwise vs logical bug
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2012 07:04:45 +0000 (10:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 23:46:33 +0000 (16:46 -0700)
commit2f123cbcf0ddaf526bd681081a1f2fe8c30ef59a
tree568ae4837857067318bba6057509216906e7adcc
parent95605332997211f377af55d05209c3ef2b86bed1
Staging: xgifb: fix bitwise vs logical bug

This is a static checker fix and not something I can test.  The intent
of the code here is to set some bit flags.  For a logical OR the ">> 1"
shift wouldn't make a difference.  So it should be using a bitwise OR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c