Re: [s390] networking related oops during boot on Hercules (was: build failure)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christian Borntraeger <borntraeger@...>
Cc: Frans Pop <elendil@...>, <linux-s390@...>, <linux-kernel@...>, Ursula Braun <braunu@...>, Peter Tiedemann <ptiedem@...>, <netdev@...>
Date: Wednesday, November 28, 2007 - 1:26 pm

Christian Borntraeger <borntraeger@de.ibm.com> writes:


Can you instead change the allocation to be alloc_netdev instead of
just a plain old kzalloc.    That will fix the problem in a much
more forward compatible way.  The current code is also going to
have problems with dynamically sized array at the end of struct
net_device.

You ought to also be able to make the allocation unconditional
as that function only has one caller and it does not pass in
a struct net_device.

Eric


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[s390] build failure, Frans Pop, (Wed Nov 28, 6:27 am)
Re: [s390] build failure, Martin Schwidefsky, (Wed Nov 28, 7:03 am)
Re: [s390] build failure, Frans Pop, (Tue Dec 4, 8:03 am)
Re: [s390] build failure, Martin Schwidefsky, (Tue Dec 4, 8:26 am)
Re: [s390] build failure, Christian Borntraeger, (Wed Nov 28, 6:51 am)
Re: [s390] networking related oops during boot on Hercules (..., Christian Borntraeger, (Wed Nov 28, 12:18 pm)
Re: [s390] networking related oops during boot on Hercules (..., Eric W. Biederman, (Wed Nov 28, 1:26 pm)
Re: [s390] networking related oops during boot on Hercules (..., Stephen Hemminger, (Wed Nov 28, 2:42 pm)
Re: [s390] build failure, Frans Pop, (Wed Nov 28, 7:05 am)