aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFerdinand Blomqvist <[email protected]>2019-06-20 17:10:34 +0300
committerThomas Gleixner <[email protected]>2019-06-26 14:55:45 +0200
commit2034a42d1747fc1e1eeef2c6f1789c4d0762cb9c (patch)
treea0124f4c755eccdab837d6edbb758b2eed1b6ebe /tools/perf/scripts/python/export-to-sqlite.py
parent4b4f3accd80304781c648b26ce4d53df082a4087 (diff)
rslib: Fix decoding of shortened codes
The decoding of shortenend codes is broken. It only works as expected if there are no erasures. When decoding with erasures, Lambda (the error and erasure locator polynomial) is initialized from the given erasure positions. The pad parameter is not accounted for by the initialisation code, and hence Lambda is initialized from incorrect erasure positions. The fix is to adjust the erasure positions by the supplied pad. Signed-off-by: Ferdinand Blomqvist <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions