staging: dgap: Add check for MAXBOARDS in .probe (dgap_init_one)
authorMark Hounschell <markh@compro.net>
Fri, 25 Apr 2014 17:10:20 +0000 (13:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:18:24 +0000 (12:18 -0700)
commitacfd4aae9e782bb5b1dde844247cda01e3256cd2
tree5eb8f8809a3bfd598960ace0ef03b7c912b984e4
parent5c3b48d9b99c4a135f27b08cf3d51dfae4cf7e59
staging: dgap: Add check for MAXBOARDS in .probe (dgap_init_one)

Insure we don't allow configuring more than MAXBOARDS (32).

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c