Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 458388 Details for
Bug 604414
app-emulation/vmware-modules-279.6 kernel >4.0 - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
279-misc-deregister.patch
279-misc-deregister.patch (text/plain), 1.31 KB, created by
Samuel CUELLA
on 2017-01-02 15:11:02 UTC
(
hide
)
Description:
279-misc-deregister.patch
Filename:
MIME Type:
Creator:
Samuel CUELLA
Created:
2017-01-02 15:11:02 UTC
Size:
1.31 KB
patch
obsolete
>diff -Nur work.orig/vmci-only/linux/driver.c work/vmci-only/linux/driver.c >--- work.orig/vmci-only/linux/driver.c 2017-01-02 12:32:13.639202255 +0100 >+++ work/vmci-only/linux/driver.c 2017-01-02 13:51:56.349410150 +0100 >@@ -2463,8 +2463,6 @@ > static void __exit > vmci_exit(void) > { >- int retval; >- > if (guestDeviceInit) { > pci_unregister_driver(&vmci_driver); > vfree(data_buffer); >@@ -2476,12 +2474,7 @@ > > VMCI_HostCleanup(); > >- retval = misc_deregister(&linuxState.misc); >- if (retval) { >- Warning(LGPFX "Module %s: error unregistering\n", VMCI_MODULE_NAME); >- } else { >- Log(LGPFX"Module %s: unloaded\n", VMCI_MODULE_NAME); >- } >+ misc_deregister(&linuxState.misc); > > hostDeviceInit = FALSE; > } >diff -Nur work.orig/vmmon-only/linux/driver.c work/vmmon-only/linux/driver.c >--- work.orig/vmmon-only/linux/driver.c 2017-01-02 12:32:13.625202430 +0100 >+++ work/vmmon-only/linux/driver.c 2017-01-02 13:50:50.045239066 +0100 >@@ -406,9 +406,7 @@ > #ifdef VMX86_DEVEL > unregister_chrdev(linuxState.major, linuxState.deviceName); > #else >- if (misc_deregister(&linuxState.misc)) { >- Warning("Module %s: error unregistering\n", linuxState.deviceName); >- } >+ misc_deregister(&linuxState.misc); > #endif > > Log("Module %s: unloaded\n", linuxState.deviceName);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 604414
:
458380
|
458382
|
458384
|
458386
| 458388