Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46885 Details for
Bug 75656
net-dialup/slmodem fix for 2.6.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
slmodem-2.9.10-fix-for-2.6.10.patch
slmodem-2.9.10-fix-for-2.6.10.patch (text/plain), 521 bytes, created by
Daniel Drake (RETIRED)
on 2004-12-25 15:56:24 UTC
(
hide
)
Description:
slmodem-2.9.10-fix-for-2.6.10.patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2004-12-25 15:56:24 UTC
Size:
521 bytes
patch
obsolete
>From Linux 2.6.10 onwards, pci_register_driver returns 0 on success and negative on failure > >- Daniel Drake <dsd@gentoo.org> > >--- slmodem-2.9.10/drivers/amrmo_init.c.orig 2004-12-25 23:53:51.345258848 +0000 >+++ slmodem-2.9.10/drivers/amrmo_init.c 2004-12-25 23:54:33.528845968 +0000 >@@ -740,7 +740,7 @@ > } > #endif > >- if (!pci_register_driver(&amrmo_pci_driver)) { >+ if (pci_register_driver(&amrmo_pci_driver) < 0) { > pci_unregister_driver(&amrmo_pci_driver); > #ifndef OLD_KERNEL > class_simple_destroy(amrmo_class);
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 75656
: 46885 |
47478
|
47481