
31 Jul
2024
31 Jul
'24
5:33 p.m.
Hi,
if (ret)
if (ret == -ENOENT)
return -ENOPKG;
We normally use -ENOENT for this sort of thing.
That's the way select_ramdisk() is documented. It was actually introduced by yourself in commit e4c928792e93 ("image: Split up boot_get_ramdisk()") :)
-michael