omap: Fix arch/arm/mach-omap2/mux.c: Off by one error
authorTony Lindgren <tony@atomide.com>
Mon, 1 Feb 2010 21:03:42 +0000 (13:03 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 3 Feb 2010 16:48:06 +0000 (08:48 -0800)
commit78737ae1b0f0b425e8eb72a9c84125fa8cac8e8e
tree58b5616916749e78efe1881014c604ede8a17ce5
parent9ecef433204f9b06550dd45cf84f14706f8fe4f0
omap: Fix arch/arm/mach-omap2/mux.c: Off by one error

David Binderman ran the sourceforge tool cppcheck over the source code of the
new Linux kernel 2.6.33-rc6:

[./arm/mach-omap2/mux.c:492]: (error) Buffer access out-of-bounds

13 characters + 1 digit + 1 zero byte is more than 14 characters.

Also add a comment on mode0 name length in case new omaps
start using longer names.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c