Print this page
3117 aac forgets C isn't math
*** 3565,3575 ****
}
static int
aac_probe_jbod(struct aac_softstate *softs, int tgt, int event)
{
! ASSERT(AAC_MAX_LD <= tgt < AAC_MAX_DEV(softs));
struct aac_device *dvp;
dvp = AAC_DEV(softs, tgt);
switch (event) {
case AAC_CFG_ADD:
--- 3565,3576 ----
}
static int
aac_probe_jbod(struct aac_softstate *softs, int tgt, int event)
{
! ASSERT(AAC_MAX_LD <= tgt);
! ASSERT(tgt < AAC_MAX_DEV(softs));
struct aac_device *dvp;
dvp = AAC_DEV(softs, tgt);
switch (event) {
case AAC_CFG_ADD: