litex_sim: Better error messages on failure to load module.
This commit is contained in:
parent
d0d2f2824b
commit
a0658421cc
|
@ -122,7 +122,7 @@ int litex_sim_find_ext_module(struct ext_module_list_s *first, char *name , stru
|
||||||
if(!first || !name || !found)
|
if(!first || !name || !found)
|
||||||
{
|
{
|
||||||
ret = RC_INVARG;
|
ret = RC_INVARG;
|
||||||
eprintf("Invalid arg\n");
|
eprintf("Invalid first:%s arg:%s found:%p\n", first, name, found);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ int litex_sim_find_module(struct module_s *first, char *name , struct module_s *
|
||||||
if(!first || !name || !found)
|
if(!first || !name || !found)
|
||||||
{
|
{
|
||||||
ret = RC_INVARG;
|
ret = RC_INVARG;
|
||||||
eprintf("Invalid arg\n");
|
eprintf("Invalid first:%s arg:%s found:%p\n", first, name, found);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue