commit | a8a0a62d1f173620f150830db437ddd65a103d49 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Tue Jun 05 22:31:32 2012 +0200 |
committer | Antonio Quartulli <ordex@autistici.org> | Sun Jul 01 22:47:22 2012 +0200 |
tree | 9abfb51d3ea8bc278ef851503afc2082e8186aee | |
parent | 56303d34a332be8e2f4daf7891ebc12cb7900529 [diff] |
batman-adv: Transform BATADV_LOG_BUFF(idx) into function The linux Documentation/CodingStyle says that: * Chapter 12: "inline functions are preferable to macros resembling functions" * Chapter 12.2: Depending on local variables with a magic name is bad * Chapter 12.3: Macros with arguments used as l-value are bad Signed-off-by: Sven Eckelmann <sven@narfation.org>