diff options
| author | Chris Wilson <[email protected]> | 2020-05-16 22:23:28 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-05-18 16:32:59 +0100 |
| commit | 2803aa743fd38f66acca555ae6e5fc677bb71251 (patch) | |
| tree | ccd2c7cdd25f381b7a8513b4ba7681151d8aaee5 /tools/perf/scripts/python/netdev-times.py | |
| parent | 3df6fad41f13dce63d9110d39175445a20f27395 (diff) | |
drm: Help unconfuse gcc, avoid accidental impossible unsigned comparisons
drivers/gpu/drm/drm_client_modeset.c: In function ‘drm_client_firmware_config’:
./include/linux/bits.h:26:28: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
__builtin_constant_p((l) > (h)), (l) > (h), 0)))
v2: Add a warning for passing connector_count==0 as this will hit an
infinite loop, so document the invalid parameter.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions