diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-09 19:08:25 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-12 04:32:18 +0100 |
commit | 6d60474a0f04010b7b9446abe68bcf2fb772c9bd (patch) | |
tree | 8121c1ef7199d2ba038b2ba577d7bfa3cec91bc0 /mm/madvise.c | |
parent | 18a72053c4361bbecf7d33eb394e0dfe43d7f253 (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions