Re: [PATCH 3/4] UBI: Fastmap: Care about the protection queue

From: Artem Bityutskiy
Date: Fri Oct 03 2014 - 10:31:47 EST


On Tue, 2014-09-30 at 00:20 +0200, Richard Weinberger wrote:
> +
> + for (i = 0; i < UBI_PROT_QUEUE_LEN; i++) {
> + list_for_each_entry(wl_e, &ubi->pq[i], u.list) {
> + fec = (struct ubi_fm_ec *)(fm_raw + fm_pos);

Similarly to my other posts, is it possible to not touch the WL-internal
things like 'ubi->pq[]' from fastmap.c? Can we come up with a function
at wl.c which fastmap.c could call instead?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/