• Bartosz Barcinski's avatar
    isci: sparse warnings cleanup · 467e855a
    Bartosz Barcinski authored
    Clean warnings and errors reported by sparse tool.
    
    request.c:430:50: warning: mixing different enum types
    remote_device.c:534:39: warning: symbol 'flags' shadows an earlier one
    task.c:495:44: warning: mixing different enum types
    scic_sds_controller.c:2155:24: warning: mixing different enum types
    scic_sds_controller.c:2272:36: warning: mixing different enum types
    scic_sds_controller.c:2911:38: warning: incorrect type in initializer (different address spaces)
    scic_sds_controller.c:2913:25: warning: incorrect type in argument 2 (different address spaces)
    scic_sds_request.c:875:34: warning: cast removes address space of expression
    scic_sds_request.c:876:123: warning: incorrect type in argument 2 (different address spaces)
    scic_sds_port.c:585:51: warning: incorrect type in assignment (different address spaces)
    scic_sds_port.c:712:9: warning: incorrect type in argument 2 (different address spaces)
    scic_sds_port.c:1770:25: warning: incorrect type in argument 2 (different address spaces)
    Signed-off-by: default avatarBartosz Barcinski <Bartosz.Barcinski@intel.com>
    Signed-off-by: default avatarMaciej Patelczyk <maciej.patelczyk@intel.com>
    [fixed up some false positives and misconversions]
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    467e855a
task.c 48.3 KB