libcamera: ipa_module: add path to module loading error message
Add an error message to tell, if an IPA module failed to load, the path to the IPA module shared object that was attempted to be loaded. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
83e3300a2d
commit
d68a29771f
1 changed files with 4 additions and 0 deletions
|
@ -289,6 +289,10 @@ int IPAModule::loadIPAModuleInfo()
|
||||||
unmap:
|
unmap:
|
||||||
munmap(map, soSize);
|
munmap(map, soSize);
|
||||||
close:
|
close:
|
||||||
|
if (ret)
|
||||||
|
LOG(IPAModule, Error)
|
||||||
|
<< "Error loading IPA module info for " << libPath_;
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue