[edk2-devel] [PATCH edk2-platforms v1 0/3] Casts to avoid void* pointer arithmetic

PierreGondois posted 3 patches 2 weeks ago
Failed in applying to current master (apply log)
Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.c                                                           |  5 +++--
Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdhci.c                                                   |  5 +++--
Silicon/Marvell/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c                                         |  4 ++--
Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.c                                             |  9 ++++++---
Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.c                                         | 14 +++++++++++---
Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.c |  3 ++-
Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DriverBinding.c                                      |  3 ++-
Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DwEmacSnpDxe.c                                       |  5 +++--
8 files changed, 32 insertions(+), 16 deletions(-)

[edk2-devel] [PATCH edk2-platforms v1 0/3] Casts to avoid void* pointer arithmetic

Posted by PierreGondois 2 weeks ago
These patches cast void* pointers to UINTN, preventing to do
void* pointer arithmetc.

Pierre Gondois (3):
  Silicon/Marvell/Drivers: Casts to avoid void* pointer arithmetic
  Silicon/Socionext/SynQuacer: Casts to avoid void* pointer arithmetic
  Silicon/Synopsys/DesignWare: Casts to avoid void* pointer arithmetic

 Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.c                                                           |  5 +++--
 Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdhci.c                                                   |  5 +++--
 Silicon/Marvell/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c                                         |  4 ++--
 Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.c                                             |  9 ++++++---
 Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.c                                         | 14 +++++++++++---
 Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.c |  3 ++-
 Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DriverBinding.c                                      |  3 ++-
 Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DwEmacSnpDxe.c                                       |  5 +++--
 8 files changed, 32 insertions(+), 16 deletions(-)

-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63520): https://edk2.groups.io/g/devel/message/63520
Mute This Topic: https://groups.io/mt/75893337/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH edk2-platforms v1 0/3] Casts to avoid void* pointer arithmetic

Posted by Leif Lindholm 1 week ago
On Thu, Jul 30, 2020 at 20:15:08 +0100, PierreGondois wrote:
> These patches cast void* pointers to UINTN, preventing to do
> void* pointer arithmetc.
> 
> Pierre Gondois (3):
>   Silicon/Marvell/Drivers: Casts to avoid void* pointer arithmetic
>   Silicon/Socionext/SynQuacer: Casts to avoid void* pointer arithmetic
>   Silicon/Synopsys/DesignWare: Casts to avoid void* pointer arithmetic

Thanks!
For the series:
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Pushed as 02cf0dcf8f93..b2eebc1d593e.

>  Silicon/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.c                                                           |  5 +++--
>  Silicon/Marvell/Drivers/SdMmc/XenonDxe/XenonSdhci.c                                                   |  5 +++--
>  Silicon/Marvell/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c                                         |  4 ++--
>  Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.c                                             |  9 ++++++---
>  Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.c                                         | 14 +++++++++++---
>  Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.c |  3 ++-
>  Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DriverBinding.c                                      |  3 ++-
>  Silicon/Synopsys/DesignWare/Drivers/DwEmacSnpDxe/DwEmacSnpDxe.c                                       |  5 +++--
>  8 files changed, 32 insertions(+), 16 deletions(-)
> 
> -- 
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
> 

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63721): https://edk2.groups.io/g/devel/message/63721
Mute This Topic: https://groups.io/mt/75893337/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-