diff options
author | Ajay Singh <[email protected]> | 2020-01-17 10:31:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-22 09:53:45 +0100 |
commit | 9d442d2b9add140ddc2c5de6a0ac93050dfaef16 (patch) | |
tree | 2f9c6eb9b739230529d558cf0b0a07ceca5a7c88 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b5909c6d16fd4e3972b0cd48dedde08d55575342 (diff) |
staging: wilc1000: remove use of infinite loop conditions
Avoid the use of 'while (1)' infinite loop conditions. It's not
recommended to have infinite loop in kernel code because a small bug can
cause never ending loops so use terminator condition as suggested in
full driver review [1].
[1]. https://lore.kernel.org/linux-wireless/[email protected]/
Signed-off-by: Ajay Singh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions