Re: [PATCH] fix kmalloc(0) in arch/ia64/pci/pci.c

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

 



On Thu, 17 May 2007 12:19:59 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> > +	if (!windows)
> > +		goto out2;
> >  	controller->window = kmalloc_node(sizeof(*controller->window) * windows,
> >  			GFP_KERNEL, controller->node);
> >  	if (!controller->window)
> > 
> 
> This is a significant change in functionality.  Can you please explain why
> it doesn't break things?
> 
Sorry for long RTT. I found no problem on my machine, but....
I realized I misunderstood how kmalloc(0) works....sorry, please drop patch.

I'll ask a pci guy to fix this.

-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux