kernel-fxtec-pro1x/drivers/video/via
Alexey Dobriyan 33ee3b2e2e kstrto*: converting strings to integers done (hopefully) right
1. simple_strto*() do not contain overflow checks and crufty,
   libc way to indicate failure.
2. strict_strto*() also do not have overflow checks but the name and
   comments pretend they do.
3. Both families have only "long long" and "long" variants,
   but users want strtou8()
4. Both "simple" and "strict" prefixes are wrong:
   Simple doesn't exactly say what's so simple, strict should not exist
   because conversion should be strict by default.

The solution is to use "k" prefix and add convertors for more types.
Enter
	kstrtoull()
	kstrtoll()
	kstrtoul()
	kstrtol()
	kstrtouint()
	kstrtoint()

	kstrtou64()
	kstrtos64()
	kstrtou32()
	kstrtos32()
	kstrtou16()
	kstrtos16()
	kstrtou8()
	kstrtos8()

Include runtime testsuite (somewhat incomplete) as well.

strict_strto*() become deprecated, stubbed to kstrto*() and
eventually will be removed altogether.

Use kstrto*() in code today!

Note: on some archs _kstrtoul() and _kstrtol() are left in tree, even if
      they'll be unused at runtime. This is temporarily solution,
      because I don't want to hardcode list of archs where these
      functions aren't needed. Current solution with sizeof() and
      __alignof__ at least always works.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-22 17:44:14 -07:00
..
accel.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-10-28 09:35:11 -07:00
accel.h viafb: fix hardware acceleration for suspend & resume 2010-10-24 13:04:53 +00:00
chip.h viafb: strip some structures 2011-03-09 18:58:30 +00:00
debug.h
dvi.c viafb: remove duplicated clock storage 2011-03-12 10:22:06 +00:00
dvi.h viafb: propagate __init and __devinit 2010-09-24 02:14:46 +00:00
global.c
global.h viafb: vt1636 cleanup 2010-09-24 02:15:05 +00:00
hw.c Merge branch 'viafb-pll' into viafb-next 2011-03-12 21:54:56 +00:00
hw.h viafb: always return the best possible clock 2011-03-12 10:22:00 +00:00
ioctl.c viafb: reduce viafb_set_iga_path usage 2010-09-24 02:14:48 +00:00
ioctl.h
lcd.c Merge branch 'viafb-pll' into viafb-next 2011-03-12 21:54:56 +00:00
lcd.h viafb: propagate __init and __devinit 2010-09-24 02:14:46 +00:00
Makefile viafb: vt1636 cleanup 2010-09-24 02:15:05 +00:00
share.h viafb: remove duplicated clock storage 2011-03-12 10:22:06 +00:00
tblDPASetting.c viafb: kill lcd_panel_id 2011-03-09 18:58:26 +00:00
tblDPASetting.h viafb: kill lcd_panel_id 2011-03-09 18:58:26 +00:00
via-core.c Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6 2010-11-10 12:04:41 +09:00
via-gpio.c viafb: suspend/resume for GPIOs 2010-11-09 16:18:29 +00:00
via_i2c.c video via: make local variables static 2011-03-09 17:06:29 +00:00
via_modesetting.c
via_modesetting.h
via_utility.c
via_utility.h
viafbdev.c video via: make local variables static 2011-03-09 17:06:29 +00:00
viafbdev.h kstrto*: converting strings to integers done (hopefully) right 2011-03-22 17:44:14 -07:00
viamode.c Merge branch 'viafb-pll' into viafb-next 2011-03-12 21:54:56 +00:00
viamode.h viafb: remove duplicated clock information 2011-03-12 10:21:54 +00:00
vt1636.c viafb: kill lcd_panel_id 2011-03-09 18:58:26 +00:00
vt1636.h