diff options
| author | Andy Shevchenko <[email protected]> | 2024-04-02 22:50:30 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-09 15:51:35 +0200 |
| commit | e60955dbecb97f080848a57524827e2db29c70fd (patch) | |
| tree | 32dc0beb882c5f732b88430729dc084b70dbdf01 /tools/perf/scripts/python | |
| parent | 712a1fcb38dc7cac6da63ee79a88708fbf9c45ec (diff) | |
serial: max3100: Fix bitwise types
Sparse is not happy about misuse of bitwise types:
.../max3100.c:194:13: warning: incorrect type in assignment (different base types)
.../max3100.c:194:13: expected unsigned short [addressable] [usertype] etx
.../max3100.c:194:13: got restricted __be16 [usertype]
.../max3100.c:202:15: warning: cast to restricted __be16
Fix this by choosing proper types for the respective variables.
Fixes: 7831d56b0a35 ("tty: MAX3100")
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions