mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
This fixes a clang 19 warning:
sys/dev/isci/scil/scif_sas_smp_remote_device.c:197:26: error: comparison of different enumeration types ('SCI_IO_STATUS' (aka 'enum _SCI_IO_STATUS') and 'enum _SCI_STATUS') [-Werror,-Wenum-compare]
197 | if (completion_status == SCI_FAILURE_RETRY_REQUIRED)
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
The `completion_status` variable is of type `SCI_IO_STATUS`, not
`SCI_STATUS`. In this case, we can seamlessly replace the value with
`SCI_IO_FAILURE_RETRY_REQUIRED`, which is numerically equal to
`SCI_FAILURE_RETRY_REQUIRED`.
MFC after: 3 days
(cherry picked from commit 1bd66fac35ec27fa64d6158f82fdcbdc26098679)
|
||
|---|---|---|
| .. | ||
| scil | ||
| environment.h | ||
| isci.c | ||
| isci.h | ||
| isci_controller.c | ||
| isci_domain.c | ||
| isci_interrupt.c | ||
| isci_io_request.c | ||
| isci_logger.c | ||
| isci_oem_parameters.c | ||
| isci_remote_device.c | ||
| isci_sysctl.c | ||
| isci_task_request.c | ||
| isci_timer.c | ||
| README | ||
| sci_environment.h | ||
| types.h | ||
FreeBSD Driver for Intel(R) C600 SAS Controller =============================================== This driver has been developed for use with FreeBSD, version 9.0 and later. This driver uses an OS-agnostic abstraction layer library named SCIL that is published by Intel specifically for the C600 SAS controller. The SAS controller has no firmware, so the driver is extensive and using SCIL minimizes the development and maintenance cost of the driver. The FreeBSD implementation files are in the isci directory, and SCIL files are in the isci/scil subdirectory. As Intel publishes new versions of SCIL (to add features or fix bugs), the isci/scil subdirectory will be updated appropriately.