On Mon, May 14, 2018 at 10:52:11PM +0200, Goffredo Baroncelli wrote: > On 05/14/2018 08:57 PM, Daniel Kiper wrote: > > On Fri, May 11, 2018 at 09:24:45PM +0200, Goffredo Baroncelli wrote: > [...] > > > >> + char *buf, grub_uint64_t sector, grub_size_t size, > >> + raid_recover_read_t read_func, int layout) > > > > s/read_func/read_node/ > > > > Hmmm... Could not you create a struct for this call? > > What do you mean ? Do you mean passing a (pointer of a) struct instead of > passing all these arguments ?
Exactly! Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel