version 1.1.1.3, 2013/07/22 01:17:35
|
version 1.1.1.4, 2013/10/14 07:54:03
|
Line 2908 smart_device * linux_smart_interface::get_custom_smart
|
Line 2908 smart_device * linux_smart_interface::get_custom_smart
|
set_err(EINVAL, "Option '-d hpt,L/M/N' invalid controller id L supplied"); |
set_err(EINVAL, "Option '-d hpt,L/M/N' invalid controller id L supplied"); |
return 0; |
return 0; |
} |
} |
if (!(1 <= channel && channel <= 16)) { | if (!(1 <= channel && channel <= 128)) { |
set_err(EINVAL, "Option '-d hpt,L/M/N' invalid channel number M supplied"); |
set_err(EINVAL, "Option '-d hpt,L/M/N' invalid channel number M supplied"); |
return 0; |
return 0; |
} |
} |