Prevent a kernel panic by avoiding the use of the BUG_ON macro.
Checkpatch detected this issue.
Signed-off-by: Laura Garcia Liebana
---
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 intro
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
---
Changes in v2:
- According to
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
---
Changes in v2:
- Remove the BUG_ON