diff options
author | Jannik Becher <becher.jannik@gmail.com> | 2016-12-20 18:59:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-03 16:51:16 +0100 |
commit | 3d7164c3790adfb34472c42e6290748b03e1d1d0 (patch) | |
tree | 7d520dcee381bfa05e9d72ad81b77cfd27e373c4 /drivers/staging/speakup/main.c | |
parent | dd9161483f420c2ead89f8514956b7717d4ea504 (diff) |
staging: rtl8712: changed GetFrameSubType macro
Fixed a sparse warning.
GetFrameSubType and GetFrameType should cast to __le16. Furthermore
GetFramSubType should use le16_to_cpu instead of cpu_to_le16.
Signed-off-by: Jannik Becher <becher.jannik@gmail.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/main.c')
0 files changed, 0 insertions, 0 deletions