Re: [PATCH 17/18] dmaengine/amba-pl08x: Check txd->llis_va beforefreeing dma_pool

From: Linus Walleij
Date: Sat Jul 30 2011 - 20:44:32 EST


2011/7/29 Viresh Kumar <viresh.kumar@xxxxxx>:

> In pl08x_free_txd(), check if pool is allocated successfully before freeing it.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>

Looks like a good idea.
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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/