Commit b9fdbdca authored by Linus Torvalds's avatar Linus Torvalds Committed by Paul Mackerras

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!
parent 88da51bb
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/rwsem.h> #include <linux/rwsem.h>
#include <asm/atomic.h> #include <asm/atomic.h>
#define KOBJ_NAME_LEN 16 #define KOBJ_NAME_LEN 20
struct kobject { struct kobject {
char name[KOBJ_NAME_LEN]; char name[KOBJ_NAME_LEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment