From: Sasha Levin Date: Thu, 3 Jan 2013 00:39:53 +0000 (+1030) Subject: module: prevent warning when finit_module a 0 sized file X-Git-Tag: v3.8-rc5~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52441fa8f2f1ccc9fa97607c6ccf8b46b9fd15ae;p=pandora-kernel.git module: prevent warning when finit_module a 0 sized file If we try to finit_module on a file sized 0 bytes vmalloc will scream and spit out a warning. Since modules have to be bigger than 0 bytes anyways we can just check that beforehand and avoid the warning. Signed-off-by: Sasha Levin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed