drivers/message/i2o/i2o_proc.c: the pointer returned from chtostr() points to an...
authorKamil Dudka <kdudka@redhat.com>
Mon, 30 Jul 2012 21:41:29 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:17 +0000 (17:25 -0700)
commit40251b8eb46e48c011939a3ddf056fe13a223319
tree42bd1722443f2849273e6529f0c78515101546b5
parent49ac572b93832210dc1895839692b3a51e5d0e27
drivers/message/i2o/i2o_proc.c: the pointer returned from chtostr() points to an array which is no longer valid

...  when being used in the calling function.  Although it may work, the
behavior is undefined.  Detected by cppcheck.

Signed-off-by: Kamil Dudka <kdudka@redhat.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/message/i2o/i2o_proc.c