Public bug reported:
We're getting efi_runtime build warnings with recent kernels:
make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-25-generic'
CC [M] /home/king/tmp/fwts/efi_runtime/efi_runtime.o
/home/king/tmp/fwts/efi_runtime/efi_runtime.c: In function ‘efi_runtime_init’:
/home/king/tmp/fwts/efi_runtime/efi_runtime.c:364:6: warning: the address of
‘efi_enabled’ will always evaluate as ‘true’ [-Waddress]
This occurs because of kernel commit 83e681897 which turned efi_enabled
from an integer into a function, hence efi_enabled will always now
evaluate as true.
** Affects: fwts (Ubuntu)
Importance: High
Assignee: Colin King (colin-king)
Status: In Progress
** Changed in: fwts (Ubuntu)
Status: New => In Progress
** Changed in: fwts (Ubuntu)
Assignee: (unassigned) => Colin King (colin-king)
** Changed in: fwts (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1198150
Title:
fwts: efi_runtime build warning on efi_enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1198150/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs