summaryrefslogtreecommitdiffstats
path: root/include/linux/ata_platform.h
diff options
context:
space:
mode:
authorRon <ron@debian.org>2014-03-16 04:01:07 +1030
committerBrian Norris <computersforpeace@gmail.com>2014-04-04 23:13:17 -0700
commit4a4163caccae97a23d97c29032664ee7b7a498d0 (patch)
treeb0a0cb99577a55a283d8efe27d57325dfe941162 /include/linux/ata_platform.h
parent86e4bbc766b9456f583f2fc3c4f6c623b422af88 (diff)
downloadblackbird-op-linux-4a4163caccae97a23d97c29032664ee7b7a498d0.tar.gz
blackbird-op-linux-4a4163caccae97a23d97c29032664ee7b7a498d0.zip
Fix index regression in nand_read_subpage
Commit 7351d3a5dbf42ba3299af71db3296be447bc1516 added an index variable as part of fixing checkpatch warnings, presumably as a tool to make some long lines shorter, however it only set that index in the case of there being no gaps in eccpos for the fragment being read. Which means the later step of filling ecccode from oob_poi will use the wrong indexing into eccpos in that case. This patch restores the behaviour that existed prior to that change. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/linux/ata_platform.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud