diff options
| author | 2020-02-13 14:40:01 -0500 | |
|---|---|---|
| committer | 2020-02-13 11:51:14 -0800 | |
| commit | e2327678732d78c90dec024e0ba4c9b65ca9cdd2 (patch) | |
| tree | 29e4e0ec92af5a8a9ca452f26891ead1f0e76962 /scripts | |
| parent | Revert "staging/octeon: Mark Ethernet driver as BROKEN" (diff) | |
staging: vc04_services: Fix wrong early return in next_service_by_instance()
If kref_get_unless_zero() fails, we should keep looking for the
next service, since the callers of this function expect that a NULL
return value means there are no more.
Signed-off-by: Marcelo Diop-Gonzalez <marcgonzalez@google.com>
Link: https://lore.kernel.org/r/20200213194001.130110-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
