From: Jeff Layton Date: Sun, 25 Nov 2012 13:00:38 +0000 (-0500) Subject: cifs: fix the format specifiers in sid_to_str X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~54^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee13b2ba7488475b47ae8dab2eebc4f5fd6838c5;p=pandora-kernel.git cifs: fix the format specifiers in sid_to_str The format specifiers are for signed values, but these are unsigned. Given that '-' is a delimiter between fields, I don't think you'd get what you'd expect if you got a value here that would overflow the sign bit. The version and authority fields are 8 bit values so use a "hh" length modifier there. The subauths are 32 bit values, so there's no need to use a "l" length modifier there. Reviewed-by: Shirish Pargaonkar Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed