Created attachment 180817 [details] git patch We have found and fixed a weakness using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/ Analyzer warning: V779 Unreachable code detected. It is possible that an error is present. if_wi_pci.c 258
A commit references this bug: Author: kevlo Date: Wed Mar 15 09:31:58 UTC 2017 New revision: 315294 URL: https://svnweb.freebsd.org/changeset/base/315294 Log: Fix unreachable code in wi_pci_resume(). PR: 217784 Submitted by: Svyatoslav <razmyslov at viva64.com> Found by: PVS-Studio Changes: head/sys/dev/wi/if_wi_pci.c
Committed in r315294, thanks.
A commit references this bug: Author: kevlo Date: Sat Mar 18 13:58:25 UTC 2017 New revision: 315483 URL: https://svnweb.freebsd.org/changeset/base/315483 Log: MFC r315294: Fix unreachable code in wi_pci_resume(). PR: 217784 Submitted by: Svyatoslav <razmyslov at viva64.com> Found by: PVS-Studio Changes: _U stable/11/ stable/11/sys/dev/wi/if_wi_pci.c