On 12/01/17 12:21 PM, Liu, Monk wrote:
> 
>    if (in_interrupt())
>         BUG();

Current coding style is

    BUG_ON(in_interrupt());

according to https://kernelnewbies.org/FAQ/BUG .


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to