Re: [PATCH 3/3] module: use ZERO_OR_NULL_PTR allocation pointer checking

2012-01-30 Thread Rusty Russell
On Mon, 30 Jan 2012 12:44:40 +0400, Dmitry Antipov wrote: > Use ZERO_OR_NULL_PTR allocation pointer checking where allocation > function may return ZERO_SIZE_PTR. > > Signed-off-by: Dmitry Antipov > --- > kernel/module.c | 12 ++-- > 1 files changed, 6 insertions(+), 6 deletions(-) >

[PATCH 3/3] module: use ZERO_OR_NULL_PTR allocation pointer checking

2012-01-30 Thread Dmitry Antipov
Use ZERO_OR_NULL_PTR allocation pointer checking where allocation function may return ZERO_SIZE_PTR. Signed-off-by: Dmitry Antipov --- kernel/module.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/module.c b/kernel/module.c index 2c93276..5183f91 1006