[PATCH MTD-UTILS 2/5] dtype parameter is obsolete

Artem Bityutskiy dedekind1 at gmail.com
Wed Aug 22 06:24:19 EDT 2012


On Wed, 2012-08-22 at 11:27 +0200, Richard Genoud wrote:
> @@ -1114,7 +1114,6 @@ int ubi_leb_change_start(libubi_t desc, int fd,
> int lnum, int bytes, int dtype)
>         memset(&req, 0, sizeof(struct ubi_leb_change_req));
>         req.lnum = lnum;
>         req.bytes = bytes;
> -       req.dtype = dtype; 
I've also changed this:

+         req.dtype = 3

just like comment on top of 'struct ubi_leb_change_req' in ubi-user.h
recommends.

-- 
Best Regards,
Artem Bityutskiy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120822/a773006d/attachment.sig>


More information about the linux-mtd mailing list