summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorKay Sievers2008-05-02 06:02:41 +0200
committerGreg Kroah-Hartman2008-07-22 06:54:52 +0200
commitaab0de245150c09e61c30962feb16aacde508dc3 (patch)
treecd9cfa1e2c09aeb4cdeee605efa45fef90f0d38a /include/scsi/scsi_host.h
parentclass: change internal semaphore to a mutex (diff)
downloadkernel-qcow2-linux-aab0de245150c09e61c30962feb16aacde508dc3.tar.gz
kernel-qcow2-linux-aab0de245150c09e61c30962feb16aacde508dc3.tar.xz
kernel-qcow2-linux-aab0de245150c09e61c30962feb16aacde508dc3.zip
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 'include/scsi/scsi_host.h')
-rw-r--r--include/scsi/scsi_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index 1834fdfe82a7..a594bac4a77d 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -623,7 +623,7 @@ struct Scsi_Host {
/*
* Optional work queue to be utilized by the transport
*/
- char work_q_name[KOBJ_NAME_LEN];
+ char work_q_name[20];
struct workqueue_struct *work_q;
/*