diff options
author | Fabio Estevam | 2015-09-10 00:39:15 +0200 |
---|---|---|
committer | Linus Torvalds | 2015-09-10 22:29:01 +0200 |
commit | e4e29dc4841d21943bec1bc5378ab421d2320d83 (patch) | |
tree | 6f1d4774be452de6bf37e3c88c30c054d80bff68 /lib/zlib_deflate | |
parent | lib/decompressors: use real out buf size for gunzip with kernel (diff) | |
download | kernel-qcow2-linux-e4e29dc4841d21943bec1bc5378ab421d2320d83.tar.gz kernel-qcow2-linux-e4e29dc4841d21943bec1bc5378ab421d2320d83.tar.xz kernel-qcow2-linux-e4e29dc4841d21943bec1bc5378ab421d2320d83.zip |
lib/decompress_unlzma: Do a NULL check for pointer
Compare pointer-typed values to NULL rather than 0.
The semantic patch that makes this change is available
in scripts/coccinelle/null/badzero.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions