[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151120.144859.248502507361985820.davem@davemloft.net>
Date: Fri, 20 Nov 2015 14:48:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: linux@...nbow-software.org
Cc: netdev@...r.kernel.org, romieu@...zoreil.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3 v2] dl2k: Handle memory allocation errors in
alloc_list
From: Ondrej Zary <linux@...nbow-software.org>
Date: Thu, 19 Nov 2015 20:13:04 +0100
> If memory allocation fails in alloc_list(), free the already allocated
> memory and return -ENOMEM. In rio_open(), call alloc_list() first and
> abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list().
>
> Signed-off-by: Ondrej Zary <linux@...nbow-software.org>
Applied to net-next.
--
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