From: Harvey Harrison Date: Thu, 16 Oct 2008 20:40:34 +0000 (-0700) Subject: lib: pull base-guessing logic to helper function X-Git-Tag: v2.6.28-rc1~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa46a63efc896f0a6d54e7614e750788793582e5;p=pandora-kernel.git lib: pull base-guessing logic to helper function The default base is 10 unless there is a leading zero, in which case the base will be guessed as 8. The base will only be guesed as 16 when the string starts with '0x' the third character is a valid hex digit. Signed-off-by: Harvey Harrison Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed