summaryrefslogtreecommitdiffstats
path: root/drivers/staging/zsmalloc/zsmalloc-main.c
diff options
context:
space:
mode:
authorDan Carpenter2012-06-09 11:17:01 +0200
committerGreg Kroah-Hartman2012-06-11 17:47:51 +0200
commitb5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a (patch)
tree28795e577718539aff808d2b429668ab1ee0c158 /drivers/staging/zsmalloc/zsmalloc-main.c
parentStaging: et131x: fix coding style issues (diff)
downloadkernel-qcow2-linux-b5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a.tar.gz
kernel-qcow2-linux-b5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a.tar.xz
kernel-qcow2-linux-b5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a.zip
Staging: et131x: fix | vs & typos
These two places seem like they should be using bitwise OR instead of bitwise AND. The first one is a noop which is equivalent to: imr |= (0x0100 & 0x0004 & 0x0001); The second is sets lcr2 to zero instead of just clearing the high bits. lcr2 &= (0x00F0 & 0x000F); Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/zsmalloc/zsmalloc-main.c')
0 files changed, 0 insertions, 0 deletions