Hi Simon, On 24/09/11 03:38, Simon Glass wrote: > From: Sonny Rao <sonny...@chromium.org> > > From: Sonny Rao <sonny...@chromium.org> > > These functions are useful in U-Boot because they allow a graceful failure > rather than an unpredictable stack overflow when printf() buffers are > exceeded. > > Mostly copied from the Linux kernel. I copied vscnprintf and > scnprintf so we can change printf and vprintf to use the safe > implementation but still return the correct values.
Have you checked for license compatibility? U-Boot is GPLv2+ and (most) of Linux is GPLv2 - You may not be legally permitted to do this Regards, Graeme _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot