diff options
author | Rui Miguel Silva <[email protected]> | 2021-05-13 09:47:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 20:05:31 +0200 |
commit | abfabc8ae3bd625f57fa35d25f2435bb6465a3b1 (patch) | |
tree | 327d4aa884a5ac37bb95bc1c2b3da79a42d309be /tools/perf/scripts/python | |
parent | 24bb0076d7bc0ea4caf0af55bd0273a1c343748a (diff) |
usb: isp1760: fix strict typechecking
There are a lot of pre-existing typechecking warnings around the
access and assign of elements of ptd structure of __dw type.
sparse: warning: invalid assignment: |=
sparse: left side has type restricted __dw
sparse: right side has type unsigned int
or
warning: restricted __dw degrades to integer
or
sparse: warning: incorrect type in assignment (different base types)
sparse: expected restricted __dw [usertype] dw4
sparse: got unsigned int [assigned] [usertype] usof
To handle this, annotate conversions along the {TO,FROM}_DW* macros
and some assignments and function arguments.
This clean up completely all sparse warnings for this driver.
Signed-off-by: Rui Miguel Silva <[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