aspeed/i2c: Prevent uninitialized warning
commitf821bac4af692e88137722bbf8e601337b9e1722
authorMiroslav Rezanina <mrezanin@redhat.com>
Tue, 21 Jan 2020 09:28:14 +0000 (21 10:28 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 6 Feb 2020 10:13:24 +0000 (6 11:13 +0100)
treef430156cdf6efe442e4362f4cfa3ded0450f1837
parentb7709d0e0ac08965662979d8f351e168fc809cd7
aspeed/i2c: Prevent uninitialized warning

Compiler reports uninitialized warning for cmd_flags variable.

Adding NULL initialization to prevent this warning.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <07957dcab31f65de3dd30efa91e6b9152ac79879.1579598240.git.mrezanin@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/i2c/aspeed_i2c.c