diff options
author | Ivan Safonov <insafonov@gmail.com> | 2020-08-01 21:02:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-02 13:47:37 +0300 |
commit | 5df9de5a40b00c965febad655773d6fb9a7961d5 (patch) | |
tree | 0e8c0d58d72edd6e9616d4cde630e0543fa48ba7 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d47cecef7116d9c32efb254f7aa91ae5fb2df545 (diff) | |
download | linux-5df9de5a40b00c965febad655773d6fb9a7961d5.tar.xz |
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 <insafonov@gmail.com>
Link: https://lore.kernel.org/r/20200801180235.34116-1-insafonov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions