Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'iwcm', 'mad', 'misc', 'mlx4', 'mlx5', 'ocrdma' and 'srp' into for-next
This commit is contained in:

@@ -198,6 +198,7 @@ static void srpt_event_handler(struct ib_event_handler *handler,
|
||||
case IB_EVENT_PKEY_CHANGE:
|
||||
case IB_EVENT_SM_CHANGE:
|
||||
case IB_EVENT_CLIENT_REREGISTER:
|
||||
case IB_EVENT_GID_CHANGE:
|
||||
/* Refresh port data asynchronously. */
|
||||
if (event->element.port_num <= sdev->device->phys_port_cnt) {
|
||||
sport = &sdev->port[event->element.port_num - 1];
|
||||
@@ -563,7 +564,7 @@ static int srpt_refresh_port(struct srpt_port *sport)
|
||||
®_req, 0,
|
||||
srpt_mad_send_handler,
|
||||
srpt_mad_recv_handler,
|
||||
sport);
|
||||
sport, 0);
|
||||
if (IS_ERR(sport->mad_agent)) {
|
||||
ret = PTR_ERR(sport->mad_agent);
|
||||
sport->mad_agent = NULL;
|
||||
|
Reference in New Issue
Block a user