From: Simon Wunderlich Date: Sat, 22 Oct 2011 16:15:26 +0000 (+0200) Subject: batman-adv: directly write tt entries without buffering X-Git-Tag: v3.3-rc1~182^2~500^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d099c2c541f003bfde9a9eda5519913b313c4c27;p=pandora-kernel.git batman-adv: directly write tt entries without buffering When the translation tables (global and local) are written for debugfs, it is not neccesary to allocate a buffer, we can directly use seq_printf() to print them out. This might actually be safer if the table changes between size calculation and traversal, and we can't estimate the required size wrong. Signed-off-by: Simon Wunderlich Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed