Comment 0 for bug 1683825

Revision history for this message
Colin Ian King (colin-king) wrote : thermald: pull in some minor fixes from upstream

[SRU][XENIAL][YAKKETY][ZESTY]

Upstream thermald includes some minor fixes that ensure some settings are initialized correctly and fixes a 32 bit build warning. The fixes in question are:

commit a8eba71a95b3b8af0540f6a93877e24bc8c47079
Author: Colin Ian King <email address hidden>
Date: Tue Mar 7 11:47:51 2017 +0000

    thd_cdev: ensure _target_value is initialized

commit 6a2344b4a55acc0cba356d0f7c521c0cdb6632e0
Author: Colin Ian King <email address hidden>
Date: Mon Mar 13 16:40:42 2017 +0000

    Fix build warning on i386 architecture builds

    print out size as size_t type, use %zu format specifier to
    fix build warning on 32 bit i386:

    /usr/include/glib-2.0/glib/gmessages.h:342:43: warning: format '%lu'
    expects argument of type 'long unsigned int', but argument 4 has
    type 'std::vector<zone_trip_limits_t>::size_type {aka unsigned int}'

commit 37a25879239466f2d096fd1a58b2ac7bbc3958f5
Author: Srinivas Pandruvada <email address hidden>
Date: Mon Mar 27 17:39:30 2017 -0700

    set default preference

    In case there is missing element for preference, set ENERGY_CONSERVE
    as default.

This fixes are not critical, but I think are proven stable enough for a SRU and fix some minor buglets that should be plugged.