No description
Find a file
Lubomir Rintel 8936b67c81 power: supply: olpc_battery: correct the temperature units
commit ed54ffbe55 upstream.

According to [1] and [2], the temperature values are in tenths of degree
Celsius. Exposing the Celsius value makes the battery appear on fire:

  $ upower -i /org/freedesktop/UPower/devices/battery_olpc_battery
  ...
      temperature:         236.9 degrees C

Tested on OLPC XO-1 and OLPC XO-1.75 laptops.

[1] include/linux/power_supply.h
[2] Documentation/power/power_supply_class.txt

Fixes: fb972873a7 ("[BATTERY] One Laptop Per Child power/battery driver")
Cc: stable@vger.kernel.org
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-13 10:01:07 +01:00
arch powerpc/tm: Set MSR[TS] just prior to recheckpoint 2019-01-13 10:01:06 +01:00
block block: fix infinite loop if the device loses discard capability 2018-12-29 13:39:07 +01:00
certs Replace magic for trusting the secondary keyring with #define 2018-09-09 19:55:54 +02:00
crypto crypto: simd - correctly take reqsize of wrapped skcipher into account 2018-12-01 09:42:53 +01:00
Documentation x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=off 2019-01-09 17:14:48 +01:00
drivers power: supply: olpc_battery: correct the temperature units 2019-01-13 10:01:07 +01:00
firmware
fs ceph: don't update importing cap's mseq when handing cap export 2019-01-13 10:01:06 +01:00
include mm, hmm: use devm semantics for hmm_devmem_{add, remove} 2019-01-13 10:01:02 +01:00
init init: rename and re-order boot_cpu_state_init() 2018-08-15 18:12:48 +02:00
ipc ipc/sem.c: prevent queue.status tearing in semop 2018-09-05 09:26:30 +02:00
kernel sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b 2019-01-13 10:01:06 +01:00
lib raid6/ppc: Fix build for clang 2019-01-13 10:01:04 +01:00
mm mm, swap: fix swapoff with KSM pages 2019-01-13 10:01:02 +01:00
net 9p/net: put a lower bound on msize 2019-01-13 10:01:06 +01:00
samples samples/bpf: Check the error of write() and read() 2018-08-24 13:09:12 +02:00
scripts scripts/kallsyms: filter arm64's __efistub_ symbols 2019-01-13 10:01:06 +01:00
security selinux: policydb - fix byte order and alignment issues 2019-01-13 10:01:05 +01:00
sound ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks 2019-01-13 10:01:05 +01:00
tools mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL 2019-01-13 10:01:02 +01:00
usr
virt arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs 2019-01-09 17:14:52 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 2018-02-13 10:19:46 +01:00
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add Sasha as a stable branch maintainer 2018-12-01 09:42:50 +01:00
Makefile Makefile: Export clang toolchain variables 2019-01-13 10:01:04 +01:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.