[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another different problem with list_head



On Wednesday 31 August 2005 11:56, Fawad Lateef wrote:
> On 8/31/05, Gaurav Dhiman <gaurav4lkg@xxxxxxxxx> wrote:
> *mm)
> > > {
> > >     struct mtpmc_mm_struct md;
> > 
> > this should be a pointer as your are returning it at the end of this 
function.
> > 
> > >
> > >     return md;
> > 
> > here is the bug, you are retun the local structure, what does this
> > mean .... is it right, I dont think so.
> > 
> 
> Yes Gaurav, you are right !!! This will be the bug for Vincenzo 
> problem ..... I overlooked that and only emphasized on lists
> ........:)

Yes, this was the problem.
Thanks.
Vincenzo Mallozzi.

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/