lkml.org 
[lkml]   [2023]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH AUTOSEL 6.4 18/54] thermal: core: constify params in thermal_zone_device_register
    Hi!

    > [ Upstream commit 80ddce5f2dbd0e83eadc9f9d373439180d599fe5 ]
    >
    > Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone
    > parameters structure"), thermal_zone_device_register() allocates a copy
    > of the tzp argument and callers need not explicitly manage its lifetime.
    >
    > This means the function no longer cares about the parameter being
    > mutable, so constify it.
    >
    > No functional change.

    Not a bugfix, should not be in stable.

    3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone
    parameters structure") is not in 6.1, so this is not correct patch for
    6.1.

    Why was this selected for AUTOSEL? Can you make sure patches marked
    "No functional change." are not selected in future?

    Best regards,
    Pavel
    --
    DENX Software Engineering GmbH, Managing Director: Erika Unter
    HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2023-08-22 12:44    [W:5.930 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site