[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220106102733.GK7674@kadam>
Date: Thu, 6 Jan 2022 13:27:33 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Alex Elder <elder@...e.org>
Cc: Jiasheng Jiang <jiasheng@...as.ac.cn>, vaibhav.sr@...il.com,
mgreer@...malcreek.com, johan@...nel.org, elder@...nel.org,
gregkh@...uxfoundation.org, greybus-dev@...ts.linaro.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: greybus: audio: Check null pointer
On Tue, Dec 28, 2021 at 08:50:22AM -0600, Alex Elder wrote:
>
> There is a chance that your simple return would "work"
No. Your original comment was correct. It has to "ret = -ENOMEM;
goto error;"
regards,
dan carpenter
Powered by blists - more mailing lists