From 2874f613a62808cb4acd4b20664449f92ad90498 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 4 Dec 2020 22:19:54 +0900 Subject: [PATCH] drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c: Fix syslog formats --- drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c index b5c60e60bb..fe7373222d 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c @@ -73,7 +73,7 @@ void bcmf_hexdump(uint8_t *data, unsigned int len, unsigned long offset) { /* Flush line */ - wlinfo("%08x: %s%s\n", + wlinfo("%08lx: %s%s\n", offset + i - char_count, hex_line, char_line); char_count = 0; } @@ -90,7 +90,7 @@ void bcmf_hexdump(uint8_t *data, unsigned int len, unsigned long offset) memset(hex_line + 3 * char_count, ' ', 3 * (LINE_LEN - char_count)); hex_line[3 * LINE_LEN] = 0; - wlinfo("%08x: %s%s\n", offset + i - char_count, hex_line, char_line); + wlinfo("%08lx: %s%s\n", offset + i - char_count, hex_line, char_line); } }