[PATCH v2 17/17] UBI: introduce the VID buffer concept

Boris Brezillon boris.brezillon at free-electrons.com
Fri Sep 16 04:41:16 PDT 2016


On Fri, 16 Sep 2016 13:38:27 +0200
Richard Weinberger <richard at nod.at> wrote:

> 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?

Yep. Will fix that.

> 
> > + */
> > +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?

Exactly.

> 
> Thanks,
> //richard




More information about the linux-mtd mailing list