From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 15 Jan 2020 15:47:52 -0500 Subject: [U-Boot] [RESEND PATCH] common: add blkcache init In-Reply-To: <20191123225111.384628-1-angelo.dureghello@timesys.com> References: <20191123225111.384628-1-angelo.dureghello@timesys.com> Message-ID: <20200115204752.GR8732@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Nov 23, 2019 at 11:51:11PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > On m68k, block_cache list is relocated, but next and prev list > pointers are not adjusted to the relocated struct list_head address, > so the first iteration over the block_cache list hangs. > > This patch initializes the block_cache list after relocation. > > Signed-off-by: Angelo Durgehello As noted by Eric in the original posting, we don't need the indirection just for the name as there's not really a hard rule about names there, please just call the function directly, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: