lkml.org 
[lkml]   [2021]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/4] soc: samsung: exynos-asv: handle reading revision register error
    On Mon, Dec 07, 2020 at 08:05:15PM +0100, Krzysztof Kozlowski wrote:
    > If regmap_read() fails, the product_id local variable will contain
    > random value from the stack. Do not try to parse such value and fail
    > the ASV driver probe.
    >
    > Fixes: 5ea428595cc5 ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
    > Cc: <stable@vger.kernel.org>
    > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
    > ---
    > drivers/soc/samsung/exynos-asv.c | 8 +++++++-

    Applied.

    Best regards,
    Krzysztof

    \
     
     \ /
      Last update: 2021-01-03 17:13    [W:3.602 / U:1.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site