Date: Sat, 4 Apr 2015 13:02:10 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Ed Schouten <ed@80386.nl> Cc: svn-src-stable@freebsd.org, Alexander Motin <mav@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, svn-src-stable-10@freebsd.org, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org> Subject: Re: svn commit: r279877 - stable/10/sys/boot/fdt Message-ID: <CAJ-Vmo=7m3O8yfk2gpSFqN64yiB26rK4i__mkrXAmxY8hb_0Jg@mail.gmail.com> In-Reply-To: <CAJOYFBBDVFL=gFp=RvkDTyM8sd=opRvwqZHEjNPoeZW%2BRiZn%2Bw@mail.gmail.com> References: <201503110949.t2B9n7Yk000610@svn.freebsd.org> <CAJOYFBBSn7GxzZS0hXzD03M-u_MQnjXFf9wDxxWO4TZWHSnynw@mail.gmail.com> <CAJOYFBBDVFL=gFp=RvkDTyM8sd=opRvwqZHEjNPoeZW%2BRiZn%2Bw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 April 2015 at 02:17, Ed Schouten <ed@80386.nl> wrote: > 2015-04-04 11:16 GMT+02:00 Ed Schouten <ed@80386.nl>: >> Couldn't this use calloc() instead? > > Oh, wait. This is the boot loader. The boot loader wouldn't > necessarily have a calloc() function. .. why not? Wouldn't it be worth the code savings to have calloc versus malloc + bzero everywhere? -adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=7m3O8yfk2gpSFqN64yiB26rK4i__mkrXAmxY8hb_0Jg>