lkml.org 
[lkml]   [2000]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.055 / U:2.548 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site