summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atof.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-05-24 17:57:29 +0000
committerian <ian@FreeBSD.org>2015-05-24 17:57:29 +0000
commitad1acff25227d57348f2144ab2a2834110d7a7a9 (patch)
tree2962fdca5e1bff6ee12abfd179800004c18e42c7 /lib/libc/stdlib/atof.c
parentef273b2b34e3cfb0f2f6791b32d7924414392b68 (diff)
downloadFreeBSD-src-ad1acff25227d57348f2144ab2a2834110d7a7a9.zip
FreeBSD-src-ad1acff25227d57348f2144ab2a2834110d7a7a9.tar.gz
MFC r281073, r281074, r281077, r281200:
Use OF_getencprop over OF_getprop and fdt32_to_cpu. The latter may give us the wrong data in the failure case if shift was not zero. Remove the extra copy of uart_fdt_get_clock and uart_fdt_get_shift. While here also use OF_getencprop in uart_fdt_get_clock. Move uart_fdt_get_clock and uart_fdt_get_shift to uart_bus_fdt.c, we may not build uart_cpu_fdt.c in all configs. Fix uart_fdt_get_clock. It should have been using the cell variable passed in, not value on the stack.
Diffstat (limited to 'lib/libc/stdlib/atof.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud