From: Julia Lawall Date: Tue, 25 Nov 2008 13:12:32 +0000 (+0100) Subject: MIPS: Alchemy: Change strict_strtol to strict_strtoul X-Git-Tag: v2.6.29-rc2~104^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd2dd059ca7406a030bace8dccdb25f635578c1;p=pandora-kernel.git MIPS: Alchemy: Change strict_strtol to strict_strtoul Since memsize is unsigned, it would seem better to use strict_strtoul that strict_strtol. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @s2@ long e; position p; @@ strict_strtol@p(...,&e) @@ position p != s2.p; type T; T e; @@ - strict_strtol@p + strict_strtoul (...,&e) // Signed-off-by: Julia Lawall Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed