diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-02 00:02:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:54:52 -0400 |
commit | aab0de245150c09e61c30962feb16aacde508dc3 (patch) | |
tree | cd9cfa1e2c09aeb4cdeee605efa45fef90f0d38a /drivers/message/fusion/mptfc.c | |
parent | f75b1c60fc1e53c4004a79ea0be071aa3318cdcc (diff) |
driver core: remove KOBJ_NAME_LEN define
Kobjects do not have a limit in name size since a while, so stop
pretending that they do.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptfc.c')
-rw-r--r-- | drivers/message/fusion/mptfc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index fc31ca6829d8..b36cae9ec6db 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c | |||
@@ -1326,8 +1326,8 @@ mptfc_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1326 | 1326 | ||
1327 | /* initialize workqueue */ | 1327 | /* initialize workqueue */ |
1328 | 1328 | ||
1329 | snprintf(ioc->fc_rescan_work_q_name, KOBJ_NAME_LEN, "mptfc_wq_%d", | 1329 | snprintf(ioc->fc_rescan_work_q_name, sizeof(ioc->fc_rescan_work_q_name), |
1330 | sh->host_no); | 1330 | "mptfc_wq_%d", sh->host_no); |
1331 | ioc->fc_rescan_work_q = | 1331 | ioc->fc_rescan_work_q = |
1332 | create_singlethread_workqueue(ioc->fc_rescan_work_q_name); | 1332 | create_singlethread_workqueue(ioc->fc_rescan_work_q_name); |
1333 | if (!ioc->fc_rescan_work_q) | 1333 | if (!ioc->fc_rescan_work_q) |