diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2011-05-23 08:09:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-01 12:20:57 -0300 |
commit | 67e27c741339faedcc8e9c2c613487745d1c4b8b (patch) | |
tree | 45a46cfc93065f46719c386ea5f42e4b87ff6f67 /drivers/media/media-devnode.c | |
parent | 6c20c635b8bb110d5c610bf19233462dcfa3b39b (diff) |
[media] Make nchg variable signed because the code compares this variable against negative values
The sonixj driver compares the value for nchg with:
if (sd->nchg < -6 || sd->nchg >= 12) {
With u8, negative values won't work.
Signed-off-by: Hans Petter Selasky <hselasky@c2i.net>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/media-devnode.c')
0 files changed, 0 insertions, 0 deletions