From: Jeff Layton Date: Fri, 7 Jan 2011 16:30:28 +0000 (-0500) Subject: cifs: replace some hardcoded values with preprocessor constants X-Git-Tag: v2.6.38-rc1~446^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1397f2ee4be65542fdc3460c7e8b6317779ea680;p=pandora-kernel.git cifs: replace some hardcoded values with preprocessor constants A number of places that deal with RFC1001/1002 negotiations have bare "15" or "16" values. Replace them with RFC_1001_NAME_LEN and RFC_1001_NAME_LEN_WITH_NULL. The patch also cleans up some checkpatch warnings for code surrounding the changes. This should apply cleanly on top of the patch to remove Local_System_Name. Reported-and-Reviwed-by: Shirish Pargaonkar Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed