
1 Aug
2024
1 Aug
'24
4:42 p.m.
Hi Michael,
On Wed, 31 Jul 2024 at 09:33, Michael Walle mwalle@kernel.org wrote:
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()") :)
Hmm, OK. Perhaps I was worried about conflicting with a file-not-found error in bootstd. Anyway, let's stick with ENOPKG.
Regards, Simon