diff options
author | Ivan Safonov <[email protected]> | 2020-08-01 21:02:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-08-02 12:47:37 +0200 |
commit | 5df9de5a40b00c965febad655773d6fb9a7961d5 (patch) | |
tree | 0e8c0d58d72edd6e9616d4cde630e0543fa48ba7 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d47cecef7116d9c32efb254f7aa91ae5fb2df545 (diff) |
staging: r8188eu: replace rtw_netdev_priv define with inline function
The function guarantees type checking of arguments and return value.
Result of rtw_netdev_priv macro can be assigned to pointer
with incompatible type without warning. The function allow compiler
to perform this check.
Signed-off-by: Ivan Safonov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions