Fix for vmware installer failure to build vmmon and vmnet kernel modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when using vmware installer on fedora 40 it fails to install kernel
modules due to missing declaration of random_get_entropy_fallback in
the timex.h unit file this patch fixes it

excuse me as its my first contribution to the linux mailing list

here is the patch
------------------------------------------------------------------------------------------

--- arch/x86/include/asm/timex.h    2024-05-04 12:35:23.000000000 +0300
+++ arch/x86/include/asm/timex.h    2024-05-04 12:38:44.438340770 +0300
@@ -5,6 +5,12 @@
 #include <asm/processor.h>
 #include <asm/tsc.h>

+/*
+ * Fix for vmware installer failure to build vmmon and vmnet kernel modules
+ * as random_get_entropy_fallback() is not found in this unit.
+ */
+unsigned long random_get_entropy_fallback(void);
+
 static inline unsigned long random_get_entropy(void)
 {
     if (!IS_ENABLED(CONFIG_X86_TSC) &&

------------------------------------------------------------------------------------------

Thank You
Dr. Amr Osman




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux