Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Wolfgang Denk authored
The %p format of printf() would print a pointer to address null as "(null)". This makes sense in a real OS where a NULL pointer must never be dereferenced, but this is a bootloader, and there are cases where accessing the data at address null makes perfect sense. Remove the special case in lib/vsprintf.c using "#if 0" with a comment to make clear this was an intentional change and to stop re-adding this code. Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
Wolfgang Denk authoredThe %p format of printf() would print a pointer to address null as "(null)". This makes sense in a real OS where a NULL pointer must never be dereferenced, but this is a bootloader, and there are cases where accessing the data at address null makes perfect sense. Remove the special case in lib/vsprintf.c using "#if 0" with a comment to make clear this was an intentional change and to stop re-adding this code. Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>