From: Julia Lawall Date: Fri, 19 Dec 2008 22:50:22 +0000 (-0600) Subject: fs/9p: change simple_strtol to simple_strtoul X-Git-Tag: v2.6.28~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d9e4586e79e1fc7b26d1c567599a904013f199;p=pandora-kernel.git fs/9p: change simple_strtol to simple_strtoul Since v9ses->uid is unsigned, it would seem better to use simple_strtoul that simple_strtol. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r2@ long e; position p; @@ e = simple_strtol@p(...) @@ position p != r2.p; type T; T e; @@ e = - simple_strtol@p + simple_strtoul (...) // Signed-off-by: Julia Lawall Acked-by: Eric Van Hensbergen --- Reading git-diff-tree failed