Dimitry Andric 1040a0007e Fix the following compilation warning with clang trunk in isci(4):
sys/dev/isci/isci_task_request.c:198:7: error: case value not in enumerated type 'SCI_TASK_STATUS' (aka 'enum _SCI_TASK_STATUS') [-Werror,-Wswitch]
    case SCI_FAILURE_TIMEOUT:
           ^

This is because the switch is done on a SCI_TASK_STATUS enum type, but
the SCI_FAILURE_TIMEOUT value belongs to SCI_STATUS instead.

Because the list of SCI_TASK_STATUS values cannot be modified at this
time, use the simplest way to get rid of this warning, which is to cast
the switch argument to int.  No functional change.

Reviewed by:	jimharris
MFC after:	3 days
2012-03-30 22:52:08 +00:00
..
2012-03-12 20:31:58 +00:00
2012-03-29 21:54:19 +00:00
2011-12-17 10:23:17 +00:00
2011-12-17 10:23:17 +00:00
2012-03-27 15:13:12 +00:00
2011-11-23 20:27:26 +00:00
2011-12-15 06:29:13 +00:00
2012-01-10 20:52:02 +00:00
2012-01-15 13:23:18 +00:00
2012-03-28 20:58:30 +00:00
2012-01-31 13:00:40 +00:00
2012-01-15 13:23:43 +00:00
2012-02-22 01:08:59 +00:00
2011-10-18 08:09:44 +00:00
2011-12-17 10:23:17 +00:00
2011-05-15 13:17:08 +00:00
2011-12-17 10:23:17 +00:00
2012-02-27 19:05:01 +00:00
2012-01-11 15:00:16 +00:00
2012-01-15 13:23:43 +00:00
2012-03-29 19:29:24 +00:00
2012-02-27 08:57:02 +00:00
2012-01-15 13:23:18 +00:00
2011-12-17 10:23:17 +00:00
2011-10-07 08:59:54 +00:00
2011-12-15 05:07:16 +00:00
2012-02-11 08:12:52 +00:00
2011-12-22 15:13:32 +00:00
2011-10-18 08:09:44 +00:00
2011-11-23 05:34:01 +00:00
2011-11-23 20:27:26 +00:00