> + *p++ = IDENTIFY(lp && (tp->flags & ESP_TGT_DISCONNECT), lun); I think lp should always be non-NULL here.