From b9fdbdca514c68074647a47222e144d66783bb7e Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 24 May 2003 07:28:08 -0700 Subject: Make KOBJ_NAME_LEN bigger, since at least the ieee1394 code has bus ID's that are longer than 16 bytes. Noted by Ben Collins, who also signed up to fix up some broken strncpy() users. Sucker! --- include/linux/kobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/kobject.h') diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 8c84e7bce42e..12d7e97d3ce7 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -12,7 +12,7 @@ #include #include -#define KOBJ_NAME_LEN 16 +#define KOBJ_NAME_LEN 20 struct kobject { char name[KOBJ_NAME_LEN]; -- cgit v1.2.3