Re: [PATCH] efiemu/loadcore: Add grub_calloc failure check
Avnish Chouhan <[email protected]> Thu, 27 Nov 2025 14:11:38 +0530
| Newsgroups | org.gnu.grub-devel |
|---|---|
| Message-ID | <[email protected]> |
On 2025-11-27 12:36, [email protected] wrote: > Message: 3 > Date: Thu, 27 Nov 2025 10:06:33 +0300 > From: "Vladimir 'phcoder' Serbinenko" <[email protected]> > To: The development of GNU GRUB <[email protected]> > Subject: Re: [PATCH] efiemu/loadcore: Add grub_calloc failure check > Message-ID: > <CAEaD8JNBot3GxjjNuApmMXn-EPqmuZmKW8fp1rMLdXfUL6m5kg@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > grub_calloc already sets error variables. So you need to return > grub_errno > and not call grub_error > > Regards > Vladimir 'phcoder' Serbinenko > Hi Vladimir, Sure, I'll change it to as suggested. Thank you! Regards, Avnish Chouhan _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel