Re: Another different problem with list_head

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

 



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
........:)


-- 
Fawad Lateef

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux