This change is necessary because valid source argument for the clko command can be negative. Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- 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