Re: [patch] dsp56k: prevent a harmless underflow

From: Arnd Bergmann
Date: Wed Jul 13 2016 - 11:04:05 EST

On Wednesday, July 13, 2016 1:11:19 PM CEST Dan Carpenter wrote:
> There is a mistake here where we don't allow "len" to be zero but we
> allow negative lengths. It's basically harmless in this case, but the
> underflow makes my static checker complain.
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>