From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934402AbcIPLlg (ORCPT ); Fri, 16 Sep 2016 07:41:36 -0400 Received: from down.free-electrons.com ([37.187.137.238]:35036 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1765206AbcIPLl2 (ORCPT ); Fri, 16 Sep 2016 07:41:28 -0400 Date: Fri, 16 Sep 2016 13:41:16 +0200 From: Boris Brezillon To: Richard Weinberger Cc: Artem Bityutskiy , David Woodhouse , Brian Norris , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 17/17] UBI: introduce the VID buffer concept Message-ID: <20160916134116.6cde2723@bbrezillon> In-Reply-To: References: <1473087908-27862-1-git-send-email-boris.brezillon@free-electrons.com> <1473087908-27862-18-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Sep 2016 13:38:27 +0200 Richard Weinberger 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