From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 29 Oct 2019 19:48:44 -0600 Subject: [U-Boot] [PATCH v1 1/3] drivers: reset: Handle gracefully NULL pointers In-Reply-To: <20190930142449.4480-2-jjhiblot@ti.com> References: <20190930142449.4480-1-jjhiblot@ti.com> <20190930142449.4480-2-jjhiblot@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jean-Jacques, On Mon, 30 Sep 2019 at 08:31, Jean-Jacques Hiblot wrote: > > Prepare the way for a managed reset API by handling NULL pointers without > crashing nor failing. > > Signed-off-by: Jean-Jacques Hiblot > --- > > drivers/reset/reset-uclass.c | 30 +++++++++++++++++------------- > 1 file changed, 17 insertions(+), 13 deletions(-) Same comment here about code size / Kconfig option. Regards, Simon