Prevent a kernel panic by avoiding the use of the BUG_ON macro.
Checkpatch detected this issue.
The BUG_ON macro is not needed as such cases shouldn't happen and they
were introduced for debugging purposes.
Signed-off-by: Laura Garcia Liebana <nev...@gmail.com>
---
Changes
Prevent a kernel panic by avoiding the use of the BUG_ON macro.
Checkpatch detected this issue.
The WARN_ON macro is not needed as such cases shouldn't happen and they
were introduced for debugging purposes.
Signed-off-by: Laura Garcia Liebana <nev...@gmail.com>
---
Changes
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