V4L/DVB (8287): sms1xxx: fix WARNING: unnecessary cast may hide bugs
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 15 Jun 2008 22:11:37 +0000 (19:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:22:03 +0000 (07:22 -0300)
commite080842c6c31249010adb184f9efbbc5cb40bd2b
treec28916fdb6d06c3a4f51e721af0f5eee4625278c
parent18245e18eeae15e928b46c1ae0f3a19bdc50419d
V4L/DVB (8287): sms1xxx: fix WARNING: unnecessary cast may hide bugs

fix the following checkpatch.pl warning:

WARNING: unnecessary cast may hide bugs,
see http://c-faq.com/malloc/mallocnocast.html

596: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:540:
+ msg = (struct SmsMsgHdr_ST *) kmalloc(PAGE_SIZE, GFP_KERNEL | GFP_DMA);

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/siano/smscoreapi.c