On Fri, Jun 08, 2012 at 10:29:52AM +0400, Alexander Shiyan wrote: > This change is necessary because valid source argument for the clko command > can be negative. > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> Applied, thanks Sascha > --- > arch/arm/mach-imx/clko.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-imx/clko.c b/arch/arm/mach-imx/clko.c > index 0e4fbcc..8e568d2 100644 > --- a/arch/arm/mach-imx/clko.c > +++ b/arch/arm/mach-imx/clko.c > @@ -14,7 +14,7 @@ static int do_clko(int argc, char *argv[]) > div = simple_strtoul(optarg, NULL, 0); > break; > case 's': > - src = simple_strtoul(optarg, NULL, 0); > + src = simple_strtol(optarg, NULL, 0); > break; > } > } > -- > 1.7.3.4 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox