[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167002322852.1897586.7406208701529652326.b4-ty@chromium.org>
Date: Fri, 2 Dec 2022 15:20:29 -0800
From: Kees Cook <keescook@...omium.org>
To: wangyufen@...wei.com, ccross@...roid.com, anton@...msg.org,
Tony Luck <tony.luck@...el.com>
Cc: Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pstore/ram: Fix error return code in ramoops_probe()
On Fri, 2 Dec 2022 16:22:54 +0800, Wang Yufen wrote:
> In the if (dev_of_node(dev) && !pdata) path, the "err" may be assigned a
> value of 0, so the error return code -EINVAL may be incorrectly set
> to 0. To fix set valid return code before calling to goto.
>
>
Applied to for-next/pstore, thanks!
[1/1] pstore/ram: Fix error return code in ramoops_probe()
https://git.kernel.org/kees/c/e1fce564900f
--
Kees Cook
Powered by blists - more mailing lists