On Tue, Feb 23, 2016 at 5:59 PM, Laura Garcia Liebana <nev...@gmail.com> wrote:
> Prevent a kernel panic by avoiding the use of the BUG_ON macro.
> Checkpatch detected this issue.
>
> Signed-off-by: Laura Garcia Liebana <nev...@gmail.com>
> ---
> Changes in v2:
>         - According to Marc Dietrich, module creator, the WARN_ON macro is 
> not needed as such cases shouldn't happen and they were introduced for 
> debugging purposes.

This explanation as to why it is safe to remove the BUG_ON should be
part of the commit message.
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to