[v5, 01/10] mtd: powernv_flash: Use WARN_ON_ONCE() rather than BUG_ON()

Michael Ellerman patch-notifications at ellerman.id.au
Tue Nov 7 15:30:20 PST 2017


On Fri, 2017-11-03 at 02:41:37 UTC, Cyril Bur wrote:
> BUG_ON() should be reserved in situations where we can not longer
> guarantee the integrity of the system. In the case where
> powernv_flash_async_op() receives an impossible op, we can still
> guarantee the integrity of the system.
> 
> Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/44e2aa2b16a872fa8aa4901b379313

cheers



More information about the linux-mtd mailing list