Re: [PATCH] Re: test11-pre5

From: Dan Aloni (karrde@callisto.yi.org)
Date: Tue Nov 14 2000 - 19:25:38 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:27 EST