On Tue, Feb 23, 2016 at 5:59 PM, Laura Garcia Liebana <nevola@xxxxxxxxx> wrote: > Prevent a kernel panic by avoiding the use of the BUG_ON macro. > Checkpatch detected this issue. > > Signed-off-by: Laura Garcia Liebana <nevola@xxxxxxxxx> > --- > 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 devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel