diff options
| author | Jon Mason <jon.mason@intel.com> | 2013-11-22 16:44:13 -0700 |
|---|---|---|
| committer | Jon Mason <jon.mason@intel.com> | 2014-04-07 10:58:14 -0700 |
| commit | fea903ecd799ec49a2ebc4cc8cfb7bb96fd31ddc (patch) | |
| tree | bfe894438f7c9a22b0ce1735106748d590cfdf0e /scripts/stackusage | |
| parent | Linux 3.14 (diff) | |
| download | linux-fea903ecd799ec49a2ebc4cc8cfb7bb96fd31ddc.tar.gz linux-fea903ecd799ec49a2ebc4cc8cfb7bb96fd31ddc.zip | |
ntb_netdev: Fix list_for_each_entry exit issue
If list_for_each_entry exits without finding the ntb_device, the dev
pointer will not be NULL. Thus the check will never be true and the
code will not exit when it should. Correct this by adding a bool to
determine when the device is found, otherwise exit in good fashion.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
