commit | 46e0cd87d90056383c8b5408fb297f18c1bdddf3 | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Tue May 07 21:12:31 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 21 09:54:26 2013 -0700 |
tree | e7dff466e9abd76c37f8dc15b47fd7a0b9b0d457 | |
parent | 221ba151731133c8b0e1cdb9bfd2a45b3ba8764b [diff] |
mei: fix out of array access to me clients array The patch 9f81abdac362: "mei: implement mei_cl_connect function" from Jan 8, 2013, leads to the following static checker warning: "drivers/misc/mei/main.c:522 mei_ioctl_connect_client() warn: check 'dev->me_clients[]' for negative offsets (-2)" Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>