[PATCH 1/2] config_odev*: Use XNF alloc functions

2014-03-11 Thread Hans de Goede
config_odev* functions are called in code-paths were we already use XNF* functions in other places, so which are not oom safe already. Besides that oom is something which should simply never happen, so aborting when it does is as good a response as any other. While switching to XNF functions

Re: [PATCH 1/2] config_odev*: Use XNF alloc functions

2014-03-11 Thread Peter Hutterer
On Tue, Mar 11, 2014 at 12:01:22PM +0100, Hans de Goede wrote: config_odev* functions are called in code-paths were we already use XNF* functions in other places, so which are not oom safe already. Besides that oom is something which should simply never happen, so aborting when it does is as