RE: [PATCH] mmc: pci: Drop the superfluous cast

2023-10-31 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, October 31, 2023 3:09 PM > To: Bin Meng ; Peng Fan > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] mmc: pci: Drop the superfluous cast > > On 10/11/23 20:00, Bin Meng wrote: >

Re: [PATCH] mmc: pci: Drop the superfluous cast

2023-10-30 Thread Jaehoon Chung
On 10/11/23 20:00, Bin Meng wrote: > dm_pci_map_bar() return a value of (void *) already, hence no need > to cast it again before assigning to host->ioaddr. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > > drivers/mmc/p

Re: [PATCH] mmc: pci: Drop the superfluous cast

2023-10-11 Thread Simon Glass
On Wed, 11 Oct 2023 at 04:05, Bin Meng wrote: > > dm_pci_map_bar() return a value of (void *) already, hence no need > to cast it again before assigning to host->ioaddr. > > Signed-off-by: Bin Meng > --- > > drivers/mmc/pci_mmc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Rev