]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: unify and properly print hex values
authorAntonio Quartulli <ordex@autistici.org>
Mon, 19 Nov 2012 08:01:43 +0000 (09:01 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 12 Jan 2013 10:58:20 +0000 (20:58 +1000)
commitc2586c351d5d33aa105a5e765262e1fc089efe3d
tree0e7c7465361df65a5c6341872f3ce5c702e8e18f
parent8ffeb997afd7524410df3819485ad558e0cbd509
batman-adv: unify and properly print hex values

Values are printed in hexadecimal format in several points in the
code, but they are not printed using the same format string.

This patches unifies the format used for such numbers so that they
look the same everywhere.

Given the fact that all the variables printed as hexadecimal are 16
bit long, this is the chosen printing format: %#.4x

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/translation-table.c