summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2020-08-02 15:42:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 15:56:27 +0200
commit1808a4c7fcca3f835e099391bcb56f283c5b7874 (patch)
tree025aa543b8b97daee0c03ca9f2b07d8eb33d30d9 /LICENSES
parent0f86cfff5405f9937a9d9544bac25f3b1d9b4f08 (diff)
staging: rtl8723bs: 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/20200802124249.101341-1-insafonov@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions