[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150310073913.GO10964@mwanda>
Date: Tue, 10 Mar 2015 10:39:13 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Giedrius Statkevičius
<giedrius.statkevicius@...il.com>
Cc: lidza.louina@...il.com, markh@...pro.net,
devel@...verdev.osuosl.org, gregkh@...uxfoundation.org,
driverdev-devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to
initialize
On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote:
> Remove BOARD_FAILED and don't save dgnc_boards which failed to
> initialize.
>
> Assign the result of kzalloc() to brd in dgnc_found_board() and only put
> it in the dgnc_Board[] if it successfully initializes. Also, remove
> BOARD_FAILED enum and all ifs that check for it. Finally, remove one
> final place where state was set to BOARD_FAILED which was even redundant
> before this patch.
>
> Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@...il.com>
Great! Very thourough. Thanks. :)
regards,
dan carpenter
--
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