scsi: megaraid: silence a static checker bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 May 2018 10:54:32 +0000 (13:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:50:36 +0000 (07:50 +0200)
commit13e4e358b94c2c07257a6b50170af93681ae10eb
tree14e4cd93d8301c0225f141555743ce93f8d586e1
parentca588ff3e7d649690bb80a1cca4ed3dd591d9cd7
scsi: megaraid: silence a static checker bug

[ Upstream commit 27e833dabab74ee665e487e291c9afc6d71effba ]

If we had more than 32 megaraid cards then it would cause memory
corruption.  That's not likely, of course, but it's handy to enforce it
and make the static checker happy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/megaraid.c