From: Jeff Layton Date: Fri, 1 Apr 2011 01:18:15 +0000 (-0400) Subject: cifs: turn BCC into a static inlined function X-Git-Tag: v3.0-rc1~380^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460458ce8ec195a1902f0c742b76880fbd01dd96;p=pandora-kernel.git cifs: turn BCC into a static inlined function It's a bad idea to have macro functions that reference variables more than once, as the arguments could have side effects. Turn BCC() into a static inlined function instead. While we're at it, make it return a void * to discourage anyone from dereferencing it as-is. Reported-and-acked-by: David Howells Signed-off-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed