ACPI battery: non-void init function not returning a value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Luis Henriques | ||
Lucid |
Fix Released
|
Medium
|
Luis Henriques | ||
Precise |
Fix Released
|
Medium
|
Luis Henriques | ||
Quantal |
Fix Released
|
Medium
|
Luis Henriques |
Bug Description
The drivers/
static int __init acpi_battery_
{
if (acpi_disabled)
return;
[ ... ]
This could cause problems because, if ACPI is disabled, the driver init function would return 0 (success) without being initialised.
The following compiler warning is shown when compiling Precise kernel:
/home/henrix/
/home/henrix/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-56-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfebf0000 irq 45'
Mixer name : 'Generic 1af4 ID 21'
Components : 'HDA:1af40021,
Controls : 1
Simple ctrls : 1
Card1.Amixer.info:
Card hw:1 'I82801AAICH'
Mixer name : 'SigmaTel STAC9700,83,84'
Components : 'AC97a:83847600'
Controls : 8
Simple ctrls : 12
Card2.Amixer.info:
Card hw:2 'AudioPCI'/'Ensoniq AudioPCI ENS1370 at 0xc400, irq 10'
Mixer name : 'Asahi Kasei AK4531'
Components : 'AK4531'
Controls : 43
Simple ctrls : 15
Date: Fri Nov 1 15:15:26 2013
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64+mac (20120823.1)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: Bochs Bochs
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79.7
RfKill:
SourcePackage: linux
StagingDrivers: zram
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
Changed in linux (Ubuntu Lucid): | |
status: | New → Triaged |
Changed in linux (Ubuntu Quantal): | |
status: | New → Triaged |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux (Ubuntu Lucid): | |
assignee: | nobody → Luis Henriques (henrix) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Lucid): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → Medium |
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Lucid): | |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu Precise): | |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu Quantal): | |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
This change was made by a bot.