aboutsummaryrefslogtreecommitdiff
path: root/lib/inflate.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-09 19:08:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 09:04:23 -0700
commitf838956ac64e227e682d7d4da9883888b9aab381 (patch)
tree0ddf1fb73b0861daedf12145bdd64709b20689b2 /lib/inflate.c
parent881aa809b005753a64fe9409c1d229912cc925ce (diff)
mtd: cafe_nand: fix an & vs | mistake
commit 48f8b641297df49021093763a3271119a84990a2 upstream. The intent here was clearly to set result to true if the 0x40000000 flag was set. But instead there was a | vs & typo and we always set result to true. Artem: check the spec at wiki.laptop.org/images/5/5c/88ALP01_Datasheet_July_2007.pdf and this fix looks correct. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions