From: Johannes Berg Date: Thu, 21 Feb 2008 10:22:12 +0000 (+0100) Subject: mac80211: fix debugfs_sta print_mac() warning X-Git-Tag: v2.6.26-rc1~1138^2~530^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3af89d1aaaf2d2ef3bc6afe5eadb7127c51fe12;p=pandora-kernel.git mac80211: fix debugfs_sta print_mac() warning When print_mac() was marked as __pure to avoid emitting a function call in pr_debug() scenarios, a warning in this code surfaced since it relies on the fact that the buffer is modified and doesn't use the return value. This patch makes it use the return value instead. Signed-off-by: Johannes Berg Reported-by: Harvey Harrison Signed-off-by: John W. Linville --- Reading git-diff-tree failed