diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-08-11 11:14:37 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-03 08:55:20 -0700 |
commit | 87be98927eb0bfa5484dfbe5ba2f6b7f91dd9187 (patch) | |
tree | bb474f8b49d518bd0a9339349db07088cbb1827d /net/switchdev/switchdev.c | |
parent | c0ad8ef3df091ef179d78dccb810024612dcfa44 (diff) |
fm10k: prefer %s and __func__ for diagnostic prints
Don't hard code the function names in the diagnostic output when these
reset related routines fail. Instead, use %s and __func__ so that future
refactors don't need to change the print outs.
Additionally, while we are here, add missing function header comments
for the new reset_prepare and reset_done function handlers.
Signed-off-by: Jacob Keller <jacob.e.keller@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