← Back to team overview

kernel-packages team mailing list archive

[Bug 1247154] Re: ACPI battery: non-void init function not returning a value

 

This bug was fixed in the package linux - 3.5.0-44.67

---------------
linux (3.5.0-44.67) quantal; urgency=low

  [Brad Figg]

  * Release Tracking Bug
    - LP: #1250577

  [ Luis Henriques ]

  * SAUCE: ACPI battery: fix compiler warning
    - LP: #1247154

  [ Upstream Kernel Changes ]

  * ACPI / IPMI: Fix atomic context requirement of ipmi_msg_handler()
    - LP: #1249023
  * Btrfs: change how we queue blocks for backref checking
    - LP: #1249023
  * watchdog: ts72xx_wdt: locking bug in ioctl
    - LP: #1249023
  * random: run random_int_secret_init() run after all late_initcalls
    - LP: #1249023
  * tile: use a more conservative __my_cpu_offset in CONFIG_PREEMPT
    - LP: #1249023
  * ALSA: snd-usb-usx2y: remove bogus frame checks
    - LP: #1249023
  * ALSA: hda - Add fixup for ASUS N56VZ
    - LP: #1249023
  * hwmon: (applesmc) Always read until end of data
    - LP: #1249023
  * drm/radeon: fix hw contexts for SUMO2 asics
    - LP: #1249023
  * KVM: PPC: Book3S HV: Fix typo in saving DSCR
    - LP: #1249023
  * random: allow architectures to optionally define random_get_entropy()
    - LP: #1249023
  * ext4: fix memory leak in xattr
    - LP: #1249023
  * parisc: fix interruption handler to respect pagefault_disable()
    - LP: #1249023
  * mm, show_mem: suppress page counts in non-blockable contexts
    - LP: #1249023
  * mm/mmap: check for RLIMIT_AS before unmapping
    - LP: #1249023
  * mm: do not grow the stack vma just because of an overrun on preceding
    vma
    - LP: #1249023
  * xhci: quirk for extra long delay for S4
    - LP: #1249023
  * xhci: Fix spurious wakeups after S5 on Haswell
    - LP: #1249023
  * USB: support new huawei devices in option.c
    - LP: #1249023
  * USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined
    table as well.
    - LP: #1249023
  * USB: serial: option: add support for Inovia SEW858 device
    - LP: #1249023
  * ARM: 7851/1: check for number of arguments in
    syscall_get/set_arguments()
    - LP: #1249023
  * USB: quirks.c: add one device that cannot deal with suspension
    - LP: #1249023
  * dm snapshot: fix data corruption
    - LP: #1249023
    - CVE-2013-4299
  * USB: quirks: add touchscreen that is dazzeled by remote wakeup
    - LP: #1249023
  * usb: serial: option: blacklist Olivetti Olicard200
    - LP: #1249023
  * usb-storage: add quirk for mandatory READ_CAPACITY_16
    - LP: #1249023
  * writeback: fix negative bdi max pause
    - LP: #1249023
  * powerpc/pseries/lparcfg: Fix possible overflow are more than 1026
    - LP: #1249023
  * powerpc: Restore registers on error exit from
    csum_partial_copy_generic()
    - LP: #1249023
  * nilfs2: fix issue with race condition of competition between segments
    for dirty blocks
    - LP: #1249023
  * fuse: hotfix truncate_pagecache() issue
    - LP: #1249023
  * rt2800: fix wrong TX power compensation
    - LP: #1249023
  * [media] sh_vou: almost forever loop in sh_vou_try_fmt_vid_out()
    - LP: #1249023
  * tcp: must unclone packets before mangling them
    - LP: #1249023
  * tcp: do not forget FIN in tcp_shifted_skb()
    - LP: #1249023
  * net: do not call sock_put() on TIMEWAIT sockets
    - LP: #1249023
  * net: mv643xx_eth: update statistics timer from timer context only
    - LP: #1249023
  * net: mv643xx_eth: fix orphaned statistics timer crash
    - LP: #1249023
  * net: heap overflow in __audit_sockaddr()
    - LP: #1249023
  * proc connector: fix info leaks
    - LP: #1249023
  * ipv4: fix ineffective source address selection
    - LP: #1249023
  * can: dev: fix nlmsg size calculation in can_get_size()
    - LP: #1249023
  * ipv6: restrict neighbor entry creation to output flow
    - LP: #1249023
  * bridge: Correctly clamp MAX forward_delay when enabling STP
    - LP: #1249023
  * net: vlan: fix nlmsg size calculation in vlan_get_size()
    - LP: #1249023
  * l2tp: must disable bh before calling l2tp_xmit_skb()
    - LP: #1249023
  * farsync: fix info leak in ioctl
    - LP: #1249023
  * unix_diag: fix info leak
    - LP: #1249023
  * connector: use nlmsg_len() to check message length
    - LP: #1249023
  * bnx2x: record rx queue for LRO packets
    - LP: #1249023
  * net: dst: provide accessor function to dst->xfrm
    - LP: #1249023
  * sctp: Use software crc32 checksum when xfrm transform will happen.
    - LP: #1249023
  * sctp: Perform software checksum if packet has to be fragmented.
    - LP: #1249023
  * wanxl: fix info leak in ioctl
    - LP: #1249023
  * net: unix: inherit SOCK_PASS{CRED, SEC} flags from socket to fix race
    - LP: #1249023
  * net: fix cipso packet validation when !NETLABEL
    - LP: #1249023
  * inet: fix possible memory corruption with UDP_CORK and UFO
    - LP: #1249023
  * davinci_emac.c: Fix IFF_ALLMULTI setup
    - LP: #1249023
  * can: flexcan: fix flexcan_chip_start() on imx6
    - LP: #1249023
  * can: flexcan: flexcan_chip_start: fix regression, mark one MB for TX
    and abort pending TX
    - LP: #1249023
  * PCI: fix truncation of resource size to 32 bits
    - LP: #1249023
  * Linux 3.5.7.24
    - LP: #1249023
  * Linux 3.5.7.25
    - LP: #1249023
 -- Brad Figg <brad.figg@xxxxxxxxxxxxx>   Tue, 12 Nov 2013 10:16:41 -0800

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1247154

Title:
  ACPI battery: non-void init function not returning a value

Status in “linux” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Lucid:
  Fix Released
Status in “linux” source package in Precise:
  Fix Released
Status in “linux” source package in Quantal:
  Fix Released

Bug description:
  The drivers/acpi/battery.c init function starts with:

  static int __init acpi_battery_init(void)
  {
  	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/src/precise/ubuntu-precise/drivers/acpi/battery.c: In function 'acpi_battery_init':
  /home/henrix/src/precise/ubuntu-precise/drivers/acpi/battery.c:1172:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-56-generic 3.2.0-56.86
  ProcVersionSignature: Ubuntu 3.2.0-56.86-generic 3.2.51
  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/controlC2:  ubuntu     1607 F.... pulseaudio
   /dev/snd/controlC1:  ubuntu     1607 F.... pulseaudio
   /dev/snd/controlC0:  ubuntu     1607 F.... pulseaudio
  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,1af40021,00100101'
     Controls      : 1
     Simple ctrls  : 1
  Card1.Amixer.info:
   Card hw:1 'I82801AAICH'/'Intel 82801AA-ICH with STAC9700,83,84 at irq 11'
     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=UUID=fb857da5-f276-48a8-a960-9e268be368ca
  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=/boot/vmlinuz-3.2.0-56-generic root=UUID=4aa0ea77-9f66-4074-a28f-6f808346c7a6 ro console=ttyS0
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-56-generic N/A
   linux-backports-modules-3.2.0-56-generic  N/A
   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:bvrBochs:bd01/01/2011:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
  dmi.product.name: Bochs
  dmi.sys.vendor: Bochs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1247154/+subscriptions


References