]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Transform BATADV_LOG_BUFF(idx) into function
authorSven Eckelmann <sven@narfation.org>
Tue, 5 Jun 2012 20:31:32 +0000 (22:31 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 1 Jul 2012 20:47:22 +0000 (22:47 +0200)
commit45ed1abbbe3e40b7c2b0054e5a964938fa872c3a
tree9abfb51d3ea8bc278ef851503afc2082e8186aee
parentf079265caca483ecc3fd0db642ade025d8b6ad12
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>
net/batman-adv/bat_debugfs.c