]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
include/linux/kernel.h: add __must_check to strict_strto*()
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Oct 2010 21:22:25 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:13 +0000 (16:52 -0700)
commita55621f15bc61826969a29e111ba131a55ef45de
tree902f9be35bdae39e835ae5c7eb3f79f23d274396
parentc925cf0b80cb486b31e1ec0e9f981d75a4b38453
include/linux/kernel.h: add __must_check to strict_strto*()

The whole point to using the strict functions is to check the return
value.  If you don't, strict_strto*() will return you uninitialised
garbage.  Offenders have been observed in the wild.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h