Fix coverity warnings
Change-Id: I37131f2d814a608fe9098daff83ff395f7ce99d7 Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
@ -164,6 +164,7 @@ svm_map_region_nolock (svm_map_region_args_t * a)
|
||||
if (rp->version == 0)
|
||||
{
|
||||
clib_warning ("rp->version %d not %d", rp->version, SVM_VERSION);
|
||||
munmap (rp, MMAP_PAGESIZE);
|
||||
return (0);
|
||||
}
|
||||
/* Remap now that the region has been placed */
|
||||
|
Reference in New Issue
Block a user