qr: print_oops: remove redundant err variable

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: remove __init from qr_compr_init

qr_compr_init is called in non-init area, hence remove __init.

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: show error message when encoding failed

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: show a message when compression of QR code failed

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: implement guarding against recursive error in QR lib

Avoid recursive errors in the QR library and/or encoding by implementing
a variable that will check if process crashed. Bail out if that happens.

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: bitstream: rewrite to use 8 times less memory

Use 1 bit for a bit in the array instead of using 8 bits for that bit.

Signed-off-by: Levente Kurusa <levex@linux.com>
Merge pull request #6 from levex/for-teodora-bitstream

qr: bitstream: rewrite to use 8 times less memory
Merge pull request #5 from levex/for-teodora

misc changes to print_oops.c