linux/lib/reed_solomon
Thomas Gleixner a85e126abf rslib: Simplify error path
The four error path labels in rs_init() can be reduced to one by allocating
the struct with kzalloc so the pointers in the struct are NULL and can be
unconditionally handed in to kfree() because they either point to an
allocation or are NULL.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
2018-04-24 19:50:08 -07:00
..
decode_rs.c rslib: Add SPDX identifiers 2018-04-24 19:50:07 -07:00
encode_rs.c rslib: Add SPDX identifiers 2018-04-24 19:50:07 -07:00
Makefile [LIB] reed_solomon: Clean up trailing white spaces 2005-11-07 14:25:38 +01:00
reed_solomon.c rslib: Simplify error path 2018-04-24 19:50:08 -07:00