From: Alex Elder Date: Tue, 19 Feb 2013 18:25:56 +0000 (-0600) Subject: libceph: eliminate sparse warnings X-Git-Tag: v3.9-rc1~41^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154171678989950f6c392e126fa8006a145ed1cc;p=pandora-kernel.git libceph: eliminate sparse warnings Eliminate most of the problems in the libceph code that cause sparse to issue warnings. - Convert functions that are never referenced externally to have static scope. - Pass NULL rather than 0 for a pointer argument in one spot in ceph_monc_delete_snapid() This partially resolves: http://tracker.ceph.com/issues/4184 Reported-by: Fengguang Wu Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed