Hi Michael, On Wed, 31 Jul 2024 at 09:33, Michael Walle <[email protected]> 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

