ütree f372bd3cb3fc2f4a2d3e4ad303e6c4d3f8f48865 parent 90dc7d2796edf94a9eaa838321a9734c8513e717 author Pavel Emelyanov 1203580665 +0300 committer Trond Myklebust 1203637349 -0500 Wrap buffers used for rpc debug printks into RPC_IFDEBUG Sorry for the noise, but here's the v3 of this compilation fix :) There are some places, which declare the char buf[...] on the stack to push it later into dprintk(). Since the dprintk sometimes (if the CONFIG_SYSCTL=n) becomes an empty do { } while (0) stub, these buffers cause gcc to produce appropriate warnings. Wrap these buffers with RPC_IFDEBUG macro, as Trond proposed, to compile them out when not needed. Signed-off-by: Pavel Emelyanov Acked-by: J. Bruce Fields Signed-off-by: Trond Myklebust