android_kernel_motorola_sm6375/drivers/rtc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marcelo Roberto Jimenez 83a06bf50b RTC: Prevents a division by zero in kernel code.
This patch prevents a user space program from calling the RTC_IRQP_SET
ioctl with a negative value of frequency. Also, if this call is make
with a zero value of frequency, there would be a division by zero in the
kernel code.

[jstultz: Also initialize irq_freq to 1 to catch other divbyzero issues]

CC: Alessandro Zummo <[email protected]>
CC: Thomas Gleixner <[email protected]>
Signed-off-by: Marcelo Roberto Jimenez <[email protected]>
Signed-off-by: John Stultz <[email protected]>
2011-02-03 12:59:50 -08:00
..
class.c RTC: Prevents a division by zero in kernel code. 2011-02-03 12:59:50 -08:00
hctosys.c
interface.c RTC: Prevents a division by zero in kernel code. 2011-02-03 12:59:50 -08:00
Kconfig RTC: Remove Kconfig symbol for UIE emulation 2011-01-21 17:38:20 +01:00
Makefile rtc: Add drivers/rtc/rtc-mrst.c 2010-11-11 11:34:27 +01:00
rtc-ab3100.c
rtc-ab8500.c mfd: Align ab8500 with the abx500 interface 2010-10-29 00:29:19 +02:00
rtc-at32ap700x.c
rtc-at91rm9200.c
rtc-at91sam9.c
rtc-au1xxx.c
rtc-bfin.c rtc-bfin: add debug markers to suspend/resume paths 2010-10-27 18:03:05 -07:00
rtc-bq32k.c
rtc-bq4802.c
rtc-cmos.c rtc-cmos: fix suspend/resume 2011-01-13 08:03:12 -08:00
rtc-coh901331.c
rtc-core.h
rtc-davinci.c
rtc-dev.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c sh: mach-snapgear: Kill off machtype, consolidate board def. 2010-10-29 19:06:53 +09:00
rtc-ds1305.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds1307.c i2c: Constify i2c_client where possible 2011-01-10 22:11:23 +01:00
rtc-ds1374.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds1390.c
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ds3232.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-ds3234.c
rtc-efi.c
rtc-ep93xx.c
rtc-fm3130.c
rtc-generic.c
rtc-imxdi.c
rtc-isl1208.c
rtc-isl12022.c
rtc-jz4740.c drivers/rtc/rtc-jz4740.c: add alarm function 2010-10-27 18:03:06 -07:00
rtc-lib.c RTC: Rework RTC code to use timerqueue for events 2010-12-10 22:24:24 -08:00
rtc-lpc32xx.c
rtc-m41t80.c
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c rtc: rtc-max6902 - set driver data in max6902_probe() 2011-01-13 08:03:12 -08:00
rtc-max8925.c
rtc-max8998.c mfd: Support LP3974 RTC 2011-01-14 12:38:16 +01:00
rtc-mc13xxx.c rtc: Add support for the rtc found in the MC13892 PMIC 2010-10-29 00:30:01 +02:00
rtc-mpc5121.c
rtc-mrst.c x86, mrst: Add explanation for using 1960 as the year offset for vrtc 2010-11-17 13:53:46 +01:00
rtc-msm6242.c
rtc-mv.c
rtc-mxc.c
rtc-nuc900.c
rtc-omap.c drivers/rtc/rtc-omap.c: fix a memory leak 2011-01-13 08:03:12 -08:00
rtc-pcap.c
rtc-pcf2123.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pcf50633.c
rtc-pl030.c
rtc-pl031.c
rtc-proc.c
rtc-ps3.c
rtc-pxa.c
rtc-r9701.c
rtc-rp5c01.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c rtc: rs5c372: fix buffer size 2010-12-22 19:43:34 -08:00
rtc-rx8025.c rtc: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
rtc-rx8581.c
rtc-s3c.c rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime() 2010-10-27 18:03:06 -07:00
rtc-s35390a.c
rtc-sa1100.c ARM: 6455/2: Better use of the RTC framework for sa11xx. 2010-12-21 14:53:43 +00:00
rtc-sh.c rtc: rtc-sh - fix a memory leak 2010-11-08 15:08:42 +09:00
rtc-starfire.c
rtc-stk17ta8.c
rtc-stmp3xxx.c
rtc-sun4v.c
rtc-sysfs.c
rtc-test.c
rtc-twl.c
rtc-tx4939.c
rtc-v3020.c
rtc-vr41xx.c
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c