Re: [PATCH v2 17/17] UBI: introduce the VID buffer concept
From: Richard Weinberger
Date: Fri Sep 16 2016 - 07:39:24 EST
Boris,
On 05.09.2016 17:05, Boris Brezillon wrote:
> +/**
> + * ubi_get_vid_hdr - Get the VID header attached to a VID buffer
> + * @vidb: the VID buffer to free
Copy paste error?
> + */
> +static inline struct ubi_vid_hdr *ubi_get_vid_hdr(struct ubi_vid_io_buf *vidb)
> +{
> + return vidb->hdr;
I guess in future there will be a second parameter to return the nth header located
on the buffer?
Thanks,
//richard