summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.c
diff options
context:
space:
mode:
authorSven Eckelmann2011-06-04 11:26:00 +0200
committerSven Eckelmann2011-06-09 20:40:38 +0200
commite8958dbf0da377e11f385a9888da3f72e827ab26 (patch)
treebf2c84c423ebdfba4b88afad1fcb7d9a96070902 /net/batman-adv/send.c
parentbatman-adv: Rewrite debugfs kobj_to_* helpers as functions (diff)
downloadkernel-qcow2-linux-e8958dbf0da377e11f385a9888da3f72e827ab26.tar.gz
kernel-qcow2-linux-e8958dbf0da377e11f385a9888da3f72e827ab26.tar.xz
kernel-qcow2-linux-e8958dbf0da377e11f385a9888da3f72e827ab26.zip
batman-adv: Use enums for related constants
CodingStyle "Chapter 12: Macros, Enums and RTL" recommends to use enums for several related constants. Internal states can be used without defining the actual value, but all values which are visible to the outside must be defined as before. Normal values are assigned as usual and flags are defined by shifts of a bit. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/send.c')
0 files changed, 0 insertions, 0 deletions