Subject: Re: [janitor] depca: release resources on errors

From: Jeff Garzik <[email-masked]>
Date: Sun, 25 Jan 2004 23:25:14 -0500

Randy.Dunlap wrote:
> On Sun, 25 Jan 2004 11:36:38 -0500 Jeff Garzik <[email-masked]> wrote:
> 
> | Most of these patches you're sending are already in netdev-2.6, AFAICS...
> 
> 
> net: remove unnecessary type casting -- not found in netdev

I applied this one

> tc35815: handle ioremap() failure -- still missed (*Leann)

         dev->base_addr = (unsigned long)ioremap(base_addr, 
sizeof(struct tc35815_regs));
         if (!dev->base_addr) {
                 ret = -ENOMEM;
                 goto err_out;
         }

> dgrs: add iounmap()s to failure paths -- still missed (*Leann)

this wants fixing as well