[PATCH v3 01/10] mtd: powernv_flash: Use WARN_ON_ONCE() rather than BUG_ON()

Balbir Singh bsingharora at gmail.com
Mon Jul 17 16:19:07 AEST 2017


On Wed, 2017-07-12 at 14:22 +1000, 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>
> ---

Looks reasonable

Acked-by: Balbir Singh <bsingharora at gmail.com>



More information about the Linuxppc-dev mailing list