Re: [PATCH 08/13] cbfs: Use void * for the position pointers

2020-05-20 Thread Bin Meng
On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote: > > It doesn't make sense to use u8 * as the pointer type for accessing the > CBFS since we do not access it as bytes, but via structures. Change it to > void *, which allows us to avoid a cast. > > Signed-off-by: Simon Glass > --- > > fs/cbfs/

[PATCH 08/13] cbfs: Use void * for the position pointers

2020-05-13 Thread Simon Glass
It doesn't make sense to use u8 * as the pointer type for accessing the CBFS since we do not access it as bytes, but via structures. Change it to void *, which allows us to avoid a cast. Signed-off-by: Simon Glass --- fs/cbfs/cbfs.c | 17 - 1 file changed, 8 insertions(+), 9 del