commit | 375ef2b1f0d0b43b0d36ffdd521637ff59b0c13c | [log] [tgz] |
---|---|---|
author | Gal Pressman <galp@mellanox.com> | Sun Sep 17 13:43:58 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Nov 09 13:27:01 2017 +0900 |
tree | 6a2c2997c6023d62303e10c41bc3953b4b97f320 | |
parent | 355368d530460aa19b9d4291e2da2c6fd8929c76 [diff] |
net: Introduce netdev_*_once functions Extend the net device error logging with netdev_*_once macros. netdev_*_once are the equivalents of the dev_*_once macros which are useful for messages that should only be logged once. Also add netdev_WARN_ONCE, which is the "once" extension for the already existing netdev_WARN macro. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>