]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8188eu: rtw_set_fixed_ie(): accept void* parameters
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 22 Sep 2015 21:50:36 +0000 (23:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:27:22 +0000 (04:27 +0200)
commit3441d08ca20a390ab0484c11bd69f2a75e702774
tree892baaf0274d93feaacff1b41e38ebf448ca56d1
parentf22c2468b6ff8542453b5d9e7f3b8ddbbb4bcef4
staging: rtl8188eu: rtw_set_fixed_ie(): accept void* parameters

rtw_set_ie() is a memcpy-like function, taking addresses of memory buffers
among its parameters. Similarly to memcpy, change the parameters to be
void*. This will allow to get rid of typecasts whenever it is called.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c
drivers/staging/rtl8188eu/include/ieee80211.h