[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ce9ab5790907300714u5c88f1cdk8c0387de5ba9f413@mail.gmail.com>
Date: Thu, 30 Jul 2009 19:44:46 +0530
From: vimal singh <vimal.newwork@...il.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: Stoyan Gaydarov <sgayda2@...c.edu>, linux-kernel@...r.kernel.org,
David.Woodhouse@...el.com, sr@...x.de, kay.sievers@...y.org,
gregkh@...e.de, linux-mtd@...ts.infradead.org
Subject: Re: [PATCH] [mtd] fixed faulty check
On Thu, Jul 30, 2009 at 7:17 PM, Sebastian Andrzej
Siewior<bigeasy@...utronix.de> wrote:
> vimal singh wrote:
>>
>> What if you go to 'err_out' due to some other error?? Do not you need
>> to free 'info'?
>
> We have to and of_flash_remove() takes care of it.
that's correct...
>
> The initial patch would be shorter if
> dev_set_drvdata(&dev->dev, info);
> would be moved prior the kzalloc()
>
> Sebastian
>
--
---
Regards,
\/ | |\/| /-\ |_
____ __o
------ -\<,
----- ( )/ ( )
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists