Re: [PATCH] Staging: speakup: fixed reporting_keystroke variable type

From: Dan Carpenter
Date: Sat May 17 2014 - 04:03:18 EST


On Sat, May 17, 2014 at 12:46:43AM +0000, Son P. Nguyen wrote:
> From: "Son P. Nguyen" <fastmutex@xxxxxxxxx>
>
> Fixed reporting_keystroke type to int instead of bool to quiet sparse
> complaints of error cannot size expression.
>
> This is a part of eudyptula-challenge.
>

This is a bug in Sparse. The original code is correct.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/