Staging: most: avoid possible integer overflow
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 3 Aug 2015 11:44:30 +0000 (13:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:39:51 +0000 (17:39 -0700)
commit2ae0751007cdf2deaa87e160f28c50a00b478883
tree2b13f242722e65f416c7b7cb43636d0c9ccaac06
parent948fa942dc6bb4000bdf94901e99570b7636ed7c
Staging: most: avoid possible integer overflow

This patch prevents a potential integer overlow.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c