Smatch complains about something from: f2594933df97 "drm/radeon/kms:
HDMI irq support"

drivers/gpu/drm/radeon/r600_hdmi.c +557 r600_hdmi_disable(20) error:
        offset is never equal to 29696 (wrong type 0 - 255).
+
+       /* disable irq */
+       rdev->irq.hdmi[offset == R600_HDMI_BLOCK1 ? 0 : 1] = false;
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
        offset is 8 bits so this condition is always false.

+       radeon_irq_set(rdev);
+

regards,
dan carpenter


------------------------------------------------------------------------------

--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to