diff options
author | 2015-08-24 17:02:00 -0700 | |
---|---|---|
committer | 2015-10-13 23:51:37 -0700 | |
commit | b4a5127b03b7f0b06dcaf08a878ffc93ad53fa82 (patch) | |
tree | 4460ecef6a0be548b806e5c5ea19dc425a1b145b /net/switchdev/switchdev.c | |
parent | fm10k: use snprintf() instead of sprintf() to avoid buffer overflow (diff) | |
download | wireguard-linux-b4a5127b03b7f0b06dcaf08a878ffc93ad53fa82.tar.xz wireguard-linux-b4a5127b03b7f0b06dcaf08a878ffc93ad53fa82.zip |
fm10k: do not use enum as boolean
Check for actual value NETREG_UNINITIALIZED in case it ever changes from
the current value of zero.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions