radeon: Prevent confusion when fimware loading fails
Subsystems (2)
PATCH 1/1 radeon: Prevent confusion when fimware loading fails
When firmware loading fails eg due to running a newer kernel and hardware on an older distro, prevent the user confusing this subsequent warning backtrace with the real issue further up, ie "failed to load firmware", which doesn't produce a backtrace.
Signed-off-by Daniel J Blueman <[email protected]>
--- drivers/gpu/drm/radeon/evergreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/evergreen.c +1 -1
@@ -2416,7 +2416,7 @@ int evergreen_irq_set(struct radeon_device *rdev)u32 afmt1 =0 , afmt2 =0 , afmt3 =0 , afmt4 =0 , afmt5 =0 , afmt6 =0 ;if (!rdev->irq.installed) { -WARN (1 ,"Can't enable IRQ/MSI because no handler is installed\n" ); +dev_warn (rdev->dev,"not enabling IRQ/MSI as no handler is installed\n" );return -EINVAL ; }/* don't enable anything if the ih is disabled */
Signature · 1 line
1.7.9.5