- [1/15] - remove defconfig ptr comparisons to 0 - arch/x86
PATCH 1/1 - [1/15] - remove defconfig ptr comparisons to 0 - arch/x86
Remove defconfig ptr comparison to 0
Remove sparse warning: Using plain integer as NULL pointer
Signed-off-by Joe Perches <[email protected]>
---
arch/x86/boot/printf.c +1 -1
@@ -54,7 +54,7 @@ static char *number(char *str, long num, int base, int size, int precision,if (type &LEFT ) type &= ~ZEROPAD ;if (base <2 || base >36 ) -return 0 ; +return NULL ; c = (type &ZEROPAD ) ?'0' :' ' ; sign =0 ;if (type &SIGN ) {