]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit39a329915889a220b5f2c3f2eb3d7fd892567715
tree0e7c7465361df65a5c6341872f3ce5c702e8e18f
parentf9d8a53784a53a528e2c180291874500e87d9c91
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