diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-07-10 15:51:43 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-09-30 20:17:31 +0300 |
commit | 1ab2a99edb374732f429282e3e8f89df1b0ceed2 (patch) | |
tree | 4bf996b8bb141480aa02afcb9dcd5fff5192bf97 /tools/perf/scripts/python/syscall-counts.py | |
parent | b9436986d279bac57fec5a98b860e4ab93a6f8d9 (diff) | |
download | linux-1ab2a99edb374732f429282e3e8f89df1b0ceed2.tar.xz |
drm: Fix return type of crc .poll()
Sparse compains:
../drivers/gpu/drm/drm_debugfs_crc.c:350:17: warning: incorrect type in initializer (different base types)
../drivers/gpu/drm/drm_debugfs_crc.c:350:17: expected restricted __poll_t ( *poll )( ... )
../drivers/gpu/drm/drm_debugfs_crc.c:350:17: got unsigned int ( * )( ... )
Change the .poll() return type to __poll_t to silence it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190710125143.9965-5-ville.syrjala@linux.intel.com
Reviewed-by: Sean Paul <sean@poorly.run>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions