summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMike Galbraith <umgwanakikbuti@gmail.com>2016-04-22 20:38:23 -0400
committerSasha Levin <sasha.levin@oracle.com>2016-04-22 20:38:23 -0400
commit95617b5e03996c9b76743c187d53849ae1c296a2 (patch)
treee724f03fa9c24c74c6feb05978cd12ab34ec0fcd /fs
parente1ae108d141866e3ac73aa31575027271b8d42c4 (diff)
Correct backport of fa3c776 ("Thermal: Ignore invalid trip points")
Backport of 81ad4276b505e987dd8ebbdf63605f92cd172b52 failed to adjust for intervening ->get_trip_temp() argument type change, thus causing stack protector to panic. drivers/thermal/thermal_core.c: In function ‘thermal_zone_device_register’: drivers/thermal/thermal_core.c:1569:41: warning: passing argument 3 of ‘tz->ops->get_trip_temp’ from incompatible pointer type [-Wincompatible-pointer-types] if (tz->ops->get_trip_temp(tz, count, &trip_temp)) ^ drivers/thermal/thermal_core.c:1569:41: note: expected ‘long unsigned int *’ but argument is of type ‘int *’ CC: <stable@vger.kernel.org> #3.18,#4.1 Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions