]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rtl8192e: Remove function callback casts
authorOscar Carter <oscar.carter@gmx.com>
Sun, 24 May 2020 09:15:15 +0000 (11:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 08:16:34 +0000 (10:16 +0200)
commit56541f77cfdd909b5eb69493f15bae5833c776c3
treeacc14eb24d9bfaf391442d4dbc2e0d6dd1da5aa3
parent195c87fbffde0bb77de2a565adc7fe29dd0c0a25
staging/rtl8192e: Remove function callback casts

In an effort to enable -Wcast-function-type in the top-level Makefile to
support Control Flow Integrity builds, remove all the function callback
casts.

To do this modify the function prototypes accordingly.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200524091515.21799-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c