[Bug 835414] New: Kernel 3.4.47 - Compile error:=?UTF-8?Q?=20called=20object=20=E2=80=98efi=5Fenabled=E2=80=99=20is=20not=20a=20function?=
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c0
Summary: Kernel 3.4.47 - Compile error: called object
‘efi_enabled’ is not a function
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: Other
OS/Version: openSUSE 12.2
Status: NEW
Severity: Major
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: freespacer@gmx.de
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/28.0.1500.95 Safari/537.36
The patch "kabi-re-add-efi_enabled-variable.patch" from Jiri Slaby is
incomplete. The patch renamed the function efi_enabled(EFI_BOOT) to
efi_enabled_f(EFI_BOOT) and set efi_enabled as variable. This is ok, but the
predefined variable EFI_BOOT was not renamed. This makes many compile error
because of incorrect assumption.
Example-Code from fglrx kernel module (AMD Catalyst 13.8 Beta1):
#ifdef CONFIG_EFI
#ifdef EFI_BOOT
return efi_enabled(EFI_BOOT);
#else
return efi_enabled;
#endif
In this case the compiler go to the section of "#ifdef EFI_BOOT" but this is
wrong. It is difficult to fix the above code that based upon the "re-add" patch
in the current kernel.
Please fix this ASAP. Thanks.
The header from the patch:
From: Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c1
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c2
Sebastian Siebert
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c3
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c4
--- Comment #4 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=835414
https://bugzilla.novell.com/show_bug.cgi?id=835414#c5
--- Comment #5 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=835414
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com