Messages in this thread |  | | Date | Wed, 15 Nov 2000 02:25:38 +0200 (IST) | From | Dan Aloni <> | Subject | Re: [PATCH] Re: test11-pre5 |
| |
On Tue, 14 Nov 2000, Linus Torvalds wrote:
> On Wed, 15 Nov 2000, Dan Aloni wrote: > > > > summery: dev_3c501.name shouldn't be NULL, or we get oops > > Note that these days "name" is not a pointer at all, but an array, and as > such cannot be NULL any more. Not initializing it will just cause it to be > empty (ie is the same as initializing it to "").
Agreed. BTW, after grepping for IFNAMSIZ references I've noticed some architectures (sparc64, mips64) define IFNAMSIZ for themsleves, for example, arch/sparc64/kernel/ioctl32.c, which defines it to 16, the same include/linux/if.h does. But if they are not the same?
-- Dan Aloni dax@karrde.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |