aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAndre Renaud <[email protected]>2007-04-17 13:50:59 -0400
committerDavid Woodhouse <[email protected]>2007-04-17 13:50:59 -0400
commit4226b510371efd9cdc628663527d36aee36054a9 (patch)
tree061cab08eb3a95d3036d780895c1cc88972d8e7a /include/linux/debugobjects.h
parent340ea370c2ce89d1c15fbf785460f2f74314ce58 (diff)
[MTD] [NAND] Casting bug in nand_default_block_markbad
There is a slight bug in nand_default_block_markbad, where the offset is cast to an integer, prior to being shifted. This means that on large offsets, it is incorrectly doing a signed shift & losing bits. Fixed this by doing the cast after the shift (as is done elsewhere in the code). Signed-off-by: Andre Renaud <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions