]> asedeno.scripts.mit.edu Git - linux.git/commit
rslib: Fix handling of of caller provided syndrome
authorFerdinand Blomqvist <ferdinand.blomqvist@gmail.com>
Thu, 20 Jun 2019 14:10:37 +0000 (17:10 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 Jun 2019 12:55:47 +0000 (14:55 +0200)
commitef4d6a8556b637ad27c8c2a2cff1dda3da38e9a9
tree448b3b8cb09f14c3d3dca2069705e9b2def77c3b
parent647cc9ece63fdba573a31bdafa54fb2d388c3c83
rslib: Fix handling of of caller provided syndrome

Check if the syndrome provided by the caller is zero, and act
accordingly.

Signed-off-by: Ferdinand Blomqvist <ferdinand.blomqvist@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190620141039.9874-6-ferdinand.blomqvist@gmail.com
lib/reed_solomon/decode_rs.c