https://github.com/torvalds/linux
Revision be4c23c93c4828d36ac9e1a88410618a61676426 authored by Ben Dooks on 16 November 2009, 11:45:39 UTC, committed by Jean Delvare on 16 November 2009, 11:45:39 UTC
Avoid registering channels that have zero divider settings in them, as this
will only lead to kernel OOPS from divide-by-zero when the sysfs entry is
read.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent a9366e6
History
Tip revision: be4c23c93c4828d36ac9e1a88410618a61676426 authored by Ben Dooks on 16 November 2009, 11:45:39 UTC
hwmon: (s3c-hwmon) Ignore invalid divider settings
Tip revision: be4c23c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 156.0 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top