aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKrzysztof Helt <[email protected]>2008-04-08 17:41:52 -0700
committerLinus Torvalds <[email protected]>2008-04-08 18:25:52 -0700
commitbb070e43497d4fcfea7d8b52003fe1376c218343 (patch)
tree7efb2a140fafb62eeb389ec8e8de499151aeede5 /net/unix/sysctl_net_unix.c
parentef45cb624b9517f71ad6c61299478c2cc08e4d98 (diff)
acpi thermal: fix result check
thermal_zone_device_register() uses the ERR_PTR macro on its return values. A correct check is to use the IS_ERR() macro. The 2.6.25 kernels panic on Compaq AP550 without this patch as it has more then 10 (THERMAL_MAX_TRIPS) trip points (there are 12). Signed-off-by: Krzysztof Helt <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Len Brown <[email protected]> Acked-by: Zhang Rui <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions