[PATCH] Array overrun in drivers/infiniband/core/cma.c
This was spotted by coverity #id 1300. Since the array has only four elements, we should just use those four. Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de> Acked-by: NSean Hefty <sean.hefty@intel.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
Showing
想要评论请 注册 或 登录