summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2021-05-13 09:47:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-21 20:05:31 +0200
commitabfabc8ae3bd625f57fa35d25f2435bb6465a3b1 (patch)
tree327d4aa884a5ac37bb95bc1c2b3da79a42d309be /tools/perf
parent24bb0076d7bc0ea4caf0af55bd0273a1c343748a (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 <rui.silva@linaro.org> Link: https://lore.kernel.org/r/20210513084717.2487366-2-rui.silva@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions