From: Kent Overstreet Date: Wed, 29 May 2013 04:53:19 +0000 (-0700) Subject: bcache: fix a spurious gcc complaint, use scnprintf X-Git-Tag: v3.11-rc3~32^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc77aa7fb72e616edcb1b165c293e47c6d4d0cf;p=pandora-kernel.git bcache: fix a spurious gcc complaint, use scnprintf An old version of gcc was complaining about using a const int as the size of a stack allocated array. Which should be fine - but using ARRAY_SIZE() is better, anyways. Also, refactor the code to use scnprintf(). Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed