]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13380): sms-cards: make id unsigned in sms_get_board()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:43:40 +0000 (19:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:36 +0000 (18:41 -0200)
commitb6d9e8e1ffafda7c0de463bc71c7b7436842a9e2
tree5005b60b119358858d1da422471a0c622e944858
parent226725784bf415af40252f856eaf4f6f5f108773
V4L/DVB (13380): sms-cards: make id unsigned in sms_get_board()

Make id signed so we can't get an invalid pointer when we pass a negative
id.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/sms-cards.c
drivers/media/dvb/siano/sms-cards.h