aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2024-07-16 18:17:26 +0200
committerJosé Expósito <[email protected]>2024-08-08 10:04:13 +0200
commit17419a5c8c75e1f9de01b094f763ec1c6ad02979 (patch)
tree1ee942bf8177949422d39c799939d4ff76735c67 /tools/perf/scripts/python/libxed.py
parentf7f3ddb6e5c8dc7b621fd8c0903ea42190d67452 (diff)
drm/vkms: Fix cpu_to_le16()/le16_to_cpu() warnings
Building with Sparse enabled prints this warning for cpu_to_le16() calls: warning: incorrect type in assignment (different base types) expected unsigned short [usertype] got restricted __le16 [usertype] And this warning for le16_to_cpu() calls: warning: cast to restricted __le16 Declare the target buffer as __le16 to fix both warnings. Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Louis Chauvet <[email protected]> Acked-by: Maíra Canal <[email protected]> Signed-off-by: José Expósito <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions