diff options
-rw-r--r-- | cbtable.c | 2 | ||||
-rw-r--r-- | usbblaster_spi.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -205,7 +205,7 @@ static struct lb_header *find_lb_table(void *base, unsigned long start, msg_pdbg("Found coreboot table at 0x%08lx.\n", addr); return head; - }; + } return NULL; } diff --git a/usbblaster_spi.c b/usbblaster_spi.c index 46de86c8..58a8a0e3 100644 --- a/usbblaster_spi.c +++ b/usbblaster_spi.c @@ -160,7 +160,7 @@ static int send_read(unsigned int readcnt, unsigned char *readarr) return -1; } n_read -= payload_size; - }; + } n_read = readcnt; while (n_read) { |