[Bug 218006] sys/dev/isci/scil/sati_util.c: PVS-Studio: V764
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 22 13:28:25 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218006
Bug ID: 218006
Summary: sys/dev/isci/scil/sati_util.c: PVS-Studio: V764
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: razmyslov at viva64.com
Created attachment 181055
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181055&action=edit
git patch
We have found and fixed bugs using PVS-Studio tool. PVS-Studio is a static code
analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/
Analyzer warnings:
V764 Possible incorrect order of arguments passed to
'sati_scsi_fixed_sense_data_construct' function: 'scsi_status' and
'response_code'. sati_util.c 621
V764 Possible incorrect order of arguments passed to
'sati_scsi_descriptor_sense_data_construct' function: 'scsi_status' and
'response_code'. sati_util.c 626
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list