]> xenbits.xensource.com Git - ovmf.git/commit
Add the volatile keyword to NvmExpressDxe's Passthru CQ
authorOliver Smith-Denny <osde@linux.microsoft.com>
Thu, 27 Apr 2023 17:36:21 +0000 (01:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 8 May 2023 01:56:16 +0000 (01:56 +0000)
commit293b97d0c4624c13a4e934294d2c4b161a09a91b
treee4733b03156cfbe1176a76beafa7c79a058fde2b
parent4dea9e4a0e9db431240434279be9fbe45fd1651b
Add the volatile keyword to NvmExpressDxe's Passthru CQ

This updates the relevant functions that expect a non-volatile
structure to be passed to them to take casts of the CQ
now that it is volatile.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Acked-by: Michael Kubacki <michael.kubacki@microsoft.com>
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c