Skip to contentSkip to conversation

neighbour: Add loglevel to printk statment in the function, neigh_add_timer

PATCH Cong Wang 1 participant 1 message Jun 1, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Cong Wang

author
#1 lore raw
Quoted 6 lines · Nicholas Krause

This makes the printk statement in the function, neigh_add_timer have a loglevel of KERN_CRIT in order to get printed with the dumping of the stack if a double timer add arises rather then get dumped into the syslog buffer file instead in order to allow developers to see why a stack dump has arisen.

Instead, why not just use a WARN_ON() or something like that?