From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 27 Feb 2020 08:49:51 +0530 Subject: [PATCH] misc: k3_avs: Fix possible NULL pointer deference In-Reply-To: <20200214122217.24671-1-vigneshr@ti.com> References: <20200214122217.24671-1-vigneshr@ti.com> Message-ID: <928f1d0e-4072-ba99-6ea1-43c0cb1ce658@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14/02/20 5:52 PM, Vignesh Raghavendra wrote: > Its possible that k3_avs_priv is NULL because the driver may not have > been probed yet. Therefore check if pointer is valid before > dereferencing it. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot-ti Thanks and regards, Lokesh