staging: rtl8712: fix kmalloc parameters
authorVitaly Osipov <vitaly.osipov@gmail.com>
Tue, 27 May 2014 12:26:12 +0000 (22:26 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 18:55:29 +0000 (11:55 -0700)
commitefc273ce344eb6984d16964201617f4720beb2dd
treeb81875917e7b1d6819654779e58c94fd9da31645
parentf30f2c2d417b9de3d967016ade0bea2d93190624
staging: rtl8712: fix kmalloc parameters

After the commit 91d435f replaced _malloc with kmalloc, smatch picked up a
couple of new warnings. This fixes warnings:

warn: struct type mismatch 'writePTM_parm vs setdig_parm'
warn: struct type mismatch 'writePTM_parm vs setra_parm'

The difference is u8 vs unsigned char.

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.c