diff options
Diffstat (limited to 'src/drivers/elog/elog.c')
-rw-r--r-- | src/drivers/elog/elog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index b394d3c4ce..82df989e25 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -183,7 +183,7 @@ static void elog_debug_dump_buffer(const char *msg) */ static void elog_update_checksum(struct event_header *event, u8 checksum) { - u8 *event_data = (u8*)event; + u8 *event_data = (u8 *)event; event_data[event->length - 1] = checksum; } @@ -193,7 +193,7 @@ static void elog_update_checksum(struct event_header *event, u8 checksum) static u8 elog_checksum_event(struct event_header *event) { u8 index, checksum = 0; - u8 *data = (u8*)event; + u8 *data = (u8 *)event; for (index = 0; index < event->length; index++) checksum += data[index]; |