Messages in this thread Patch in this message | | | Subject | [PATCH 8 of 10] ipath - register as IB device owner | Date | Tue, 23 May 2006 11:32:36 -0700 | From | Bryan O'Sullivan <> |
| |
This fixes an oops.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
diff -r 8d87788e21b1 -r 551717ecc3db drivers/infiniband/hw/ipath/ipath_verbs.c --- a/drivers/infiniband/hw/ipath/ipath_verbs.c Tue May 23 11:29:16 2006 -0700 +++ b/drivers/infiniband/hw/ipath/ipath_verbs.c Tue May 23 11:29:16 2006 -0700 @@ -951,6 +951,7 @@ static void *ipath_register_ib_device(in idev->dd = dd; strlcpy(dev->name, "ipath%d", IB_DEVICE_NAME_MAX); + dev->owner = THIS_MODULE; dev->node_guid = ipath_layer_get_guid(dd); dev->uverbs_abi_ver = IPATH_UVERBS_ABI_VERSION; dev->uverbs_cmd_mask = - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |