[PATCH 06/13] cbfs: Adjust cbfs_load_header_ptr() to use cbfs_priv

2020-05-13 Thread Simon Glass
This function is strange at the moment in that it takes a header pointer but then accesses the cbfs_s global. Currently clients have their own priv pointer, so update the function to take that as a parameter instead. Signed-off-by: Simon Glass --- fs/cbfs/cbfs.c | 9 ++--- 1 file changed, 6

Re: [PATCH 06/13] cbfs: Adjust cbfs_load_header_ptr() to use cbfs_priv

2020-05-19 Thread Bin Meng
On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote: > > This function is strange at the moment in that it takes a header pointer > but then accesses the cbfs_s global. Currently clients have their own priv > pointer, so update the function to take that as a parameter instead. > > Signed-off-by: Si