[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] Fix CodeQL warnings

  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Mon, 20 Sep 2021 09:52:17 +0100
  • Delivery-date: Mon, 20 Sep 2021 08:52:21 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 20/09/2021 09:37, Paul Durrant wrote:
On 12/08/2021 13:36, Owen Smith wrote:
- ExAllocatePoolWithTag is deprecated for Win10 2004, use
     ExAllocatePoolUninitialized instead
- Add "(VOID)" before AccessWmiBuffer, where the return value is not needed

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>

Acked-by: Paul Durrant <paul@xxxxxxx>

It appears a further patch is required to fix similar ExAllocatePoolWithTag warnings in ioctl_gnttab.c, ioctl_store.c and ioctl_suspend.c. I may just amend this patch instead.




Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.