Tag: e4e29dc4841d21943bec1bc5378ab421d2320d83

lib/decompress_unlzma: Do a NULL check for pointer

Author: Fabio Estevam <fabio.estevam@freescale.com> 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — lib/decompress_unlzma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c index decb646..ed7a1fd 100644 — a/lib/decompress_unlzma.c +++ …

Lire la suite