diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-11-27 13:37:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 19:17:06 +0000 |
commit | 2ea2ac84ef357dcaf11a80b303d391fb6c2510d8 (patch) | |
tree | 0624027ddbccb4d3f3a0272007078d7b0f36b34f /crypto/aegis.h | |
parent | ad1885559249fa2530cb0659b758583873dc906f (diff) |
tty: srmcons: switch need_cr to bool
'need_cr' is a flag, so type it properly to be a 'bool'. Move the
declaration into the loop too. That ensures the variable is initialized
properly even if the code was moved somehow.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231127123713.14504-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/aegis.h')
0 files changed, 0 insertions, 0 deletions