diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-11-29 10:41:40 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-30 09:42:03 +0000 |
commit | 2c2df5b6ddd1eb568b2384ec34dac6f721ee427e (patch) | |
tree | 6835fb938abcdc7a3ad0b507ccc580b9b9ce259d /src | |
parent | 33d0fb8d346512e1b6819fa70cb17212ea014336 (diff) |
src/drivers: Fix two issues discovered by checkpatch
Change-Id: I46e318333e68b999b2889f51fa2fbf140a27a54e
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37357
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/spi/tpm/tis.c | 2 | ||||
-rw-r--r-- | src/drivers/usb/ehci_debug.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/spi/tpm/tis.c b/src/drivers/spi/tpm/tis.c index 7d42b7c424..6230751fb1 100644 --- a/src/drivers/spi/tpm/tis.c +++ b/src/drivers/spi/tpm/tis.c @@ -9,7 +9,7 @@ #include "tpm.h" -static unsigned tpm_is_open; +static unsigned int tpm_is_open; static const struct { uint16_t vid; diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c index e77cd85f75..d6b468c3a2 100644 --- a/src/drivers/usb/ehci_debug.c +++ b/src/drivers/usb/ehci_debug.c @@ -59,7 +59,7 @@ static int dbgp_enabled(void); static void dbgp_print_data(struct ehci_dbg_port *ehci_debug); static struct ehci_debug_info glob_dbg_info; -static struct ehci_debug_info * glob_dbg_info_p; +static struct ehci_debug_info *glob_dbg_info_p; static inline struct ehci_debug_info *dbgp_ehci_info(void) { |