diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2013-01-03 11:09:53 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-01-03 11:10:32 +1030 |
commit | 52441fa8f2f1ccc9fa97607c6ccf8b46b9fd15ae (patch) | |
tree | 5a5d4536de0898ed4ae4a012979e0ce17fdfb2ff /kernel/backtracetest.c | |
parent | f4953fe6c4aeada2d5cafd78aa97587a46d2d8f9 (diff) | |
download | talos-obmc-linux-52441fa8f2f1ccc9fa97607c6ccf8b46b9fd15ae.tar.gz talos-obmc-linux-52441fa8f2f1ccc9fa97607c6ccf8b46b9fd15ae.zip |
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 <sasha.levin@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions