]> git.baikalelectronics.ru Git - kernel.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)
commitc3e74b9f82072c2e1e8a4f300268e76cbb270e89
tree902f9be35bdae39e835ae5c7eb3f79f23d274396
parent86e292cef462a08c09c82961c1c0d618e768340a
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