Merge pull request #2 from levex/for-teodora

Fix a null pointer dereference
qr: print_oops: fix wrong include guard

Since the filename is print_oops, let's remain consequent
and use PRINT_OOPS instead of PRINT_OPS

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: bitstream: use a more widely accepted allocation scheme

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: bitstream: use ERR_PTR et al interface for errors

Signed-off-by: Levente Kurusa <levex@linux.com>