Skip to content

Commit 67bcaff

Browse files
committed
linuxkm/module_hooks.c: fix syntax error in wolfssl_init().
1 parent f04e6e8 commit 67bcaff

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

linuxkm/module_hooks.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,20 +580,24 @@ static int wolfssl_init(void)
580580
if (text_dump_path) {
581581
if (dump_to_file(text_dump_path,
582582
(u8 *)__wc_text_start,
583-
(size_t)((uintptr_t)__wc_text_end - (uintptr_t)__wc_text_start)
584-
> 0)
583+
(size_t)((uintptr_t)__wc_text_end - (uintptr_t)__wc_text_start))
584+
> 0)
585+
{
585586
pr_info("libwolfssl: dumped .wolfcrypt_text (%zu bytes) to %s.\n",
586587
(size_t)((uintptr_t)__wc_text_end - (uintptr_t)__wc_text_start),
587588
text_dump_path);
589+
}
588590
}
589591
if (rodata_dump_path) {
590592
if (dump_to_file(rodata_dump_path,
591593
(u8 *)__wc_rodata_start,
592594
(size_t)((uintptr_t)__wc_rodata_end - (uintptr_t)__wc_rodata_start))
593595
> 0)
596+
{
594597
pr_info("libwolfssl: dumped .wolfcrypt_rodata (%zu bytes) to %s.\n",
595598
(size_t)((uintptr_t)__wc_rodata_end - (uintptr_t)__wc_rodata_start),
596599
rodata_dump_path);
600+
}
597601
}
598602
#else
599603
if ((text_dump_path != NULL) ||

0 commit comments

Comments
 (0)