From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cam-smtp0.cambridge.arm.com (cam-smtp0.cambridge.arm.com [217.140.106.54]) by mx.groups.io with SMTP id smtpd.web11.2434.1596136519410659842 for ; Thu, 30 Jul 2020 12:15:20 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.106.54, mailfrom: pierre.gondois@arm.com) Received: from E119881.Arm.com (E119881.Arm.com [10.1.197.28]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id 06UJFG0N008924; Thu, 30 Jul 2020 20:15:16 +0100 From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , leif@nuviainc.com, ard.biesheuvel@arm.com, sami.mujawar@arm.com, nd@arm.com Subject: [PATCH edk2-platforms v1 0/3] Casts to avoid void* pointer arithmetic Date: Thu, 30 Jul 2020 20:15:08 +0100 Message-Id: <20200730191511.101896-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 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)'