Print this page
3217 cfgadm should spell "adaptors" correctly
Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com>
Reviewed by: David Hoeppner <0xffea@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Eric Schrock <Eric.Schrock@delphix.com>
*** 1401,1411 ****
{
HBA_ADAPTER_INFO *adapt_infop;
HBA_STATUS ret = HBA_STATUS_ERROR_ILLEGAL_INDEX;
if (adaptername == NULL) {
! DEBUG(1, "HBA_GetAdapterName: NULL pointer adatpername",
0, 0, 0);
return (HBA_STATUS_ERROR_ARG);
}
/*
--- 1401,1411 ----
{
HBA_ADAPTER_INFO *adapt_infop;
HBA_STATUS ret = HBA_STATUS_ERROR_ILLEGAL_INDEX;
if (adaptername == NULL) {
! DEBUG(1, "HBA_GetAdapterName: NULL pointer adaptername",
0, 0, 0);
return (HBA_STATUS_ERROR_ARG);
}
/*
*** 1449,1459 ****
handle = HBA_HANDLE_INVALID;
if (_hbaapi_librarylist == NULL) {
return (handle);
}
if (adaptername == NULL) {
! DEBUG(1, "HBA_OpenAdapter: NULL pointer adatpername",
0, 0, 0);
return (handle);
}
GRAB_MUTEX(&_hbaapi_AL_mutex);
for (adapt_infop = _hbaapi_adapterlist;
--- 1449,1459 ----
handle = HBA_HANDLE_INVALID;
if (_hbaapi_librarylist == NULL) {
return (handle);
}
if (adaptername == NULL) {
! DEBUG(1, "HBA_OpenAdapter: NULL pointer adaptername",
0, 0, 0);
return (handle);
}
GRAB_MUTEX(&_hbaapi_AL_mutex);
for (adapt_infop = _hbaapi_adapterlist;
*** 4327,4337 ****
/*
* Following the similar logic of HBAAPI addaspterevents_callback.
*
* Unlike other events Adapter Add Event is not limited to a specific
! * adpater(i.e. no adatper handle is passed for registration) so
* the event should be passed to all registrants. The routine below
* is passed to the VSLs as a callback and when Adapter Add event is detected
* by VSL it will call smhba_adapteraddevents_callback() which in turn check
* if the passed userdata ptr matches with the one stored in the callback list
* and calls the stored callback.
--- 4327,4337 ----
/*
* Following the similar logic of HBAAPI addaspterevents_callback.
*
* Unlike other events Adapter Add Event is not limited to a specific
! * adapter(i.e. no adapter handle is passed for registration) so
* the event should be passed to all registrants. The routine below
* is passed to the VSLs as a callback and when Adapter Add event is detected
* by VSL it will call smhba_adapteraddevents_callback() which in turn check
* if the passed userdata ptr matches with the one stored in the callback list
* and calls the stored callback.