aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-07-14 11:13:09 +0200
committerGreg Kroah-Hartman <[email protected]>2021-07-21 12:49:51 +0200
commit5d4317abd2223eea5884f7e28d1047d5e87d4a6f (patch)
tree5a819b6b87d329012aa7a07a00f9c7c36ddc7393 /lib/mpi/mpi-internal.h
parent7ec3114ec78026b132eba2c7f4b1d582fad82047 (diff)
amiserial: use memset to zero serial_state
Zeroing each member of struct serial_state in probe is fragile and overly complicated. Do one memset for them all. Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions