[PATCH 1/1] lib: import kstrtox from the kernel 3.8

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 5 05:05:04 EDT 2013


On Thu, Apr 04, 2013 at 05:33:41PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  include/linux/kernel.h |   94 +++++++++++++-
>  lib/Makefile           |    1 +
>  lib/kstrtox.c          |  322 ++++++++++++++++++++++++++++++++++++++++++++++++
>  lib/kstrtox.h          |    8 ++
>  lib/vsprintf.c         |  109 ++++++++--------
>  5 files changed, 484 insertions(+), 50 deletions(-)
>  create mode 100644 lib/kstrtox.c
>  create mode 100644 lib/kstrtox.h

You introduce a lot of new code without saying a single word why we need
this, what is wrong with the current implemementation or what's the
motivation for this.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list