Re: [patch] radeon: handle errors in radeon_hwmon_init()

2010-08-09 Thread Alex Deucher
2010/8/7 Rafał Miłecki : > 2010/8/8 Dan Carpenter : >> Smatch complained that the ERR_PTR from hwmon_device_register() wasn't >> handled.  I added some error handling in radeon_hwmon_init() to silence >> the warning. >> >> Unfortunately errors from radeon_pm_init() aren't handled so this >> doesn't

Re: [patch] radeon: handle errors in radeon_hwmon_init()

2010-08-07 Thread Rafał Miłecki
2010/8/8 Dan Carpenter : > Smatch complained that the ERR_PTR from hwmon_device_register() wasn't > handled.  I added some error handling in radeon_hwmon_init() to silence > the warning. > > Unfortunately errors from radeon_pm_init() aren't handled so this > doesn't really make a difference beyond