diff mbox series

[kmods,4/4] windows/virt2phys: add PnpLockdown directive

Message ID 20211002161824.19039-5-dmitry.kozliuk@gmail.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers show
Series windows: independent fixes | expand

Checks

Context Check Description
ci/Intel-compilation warning apply issues
ci/checkpatch warning coding style issues

Commit Message

Dmitry Kozlyuk Oct. 2, 2021, 4:18 p.m. UTC
WDK for Windows 10, version 2004 emits a warning suggesting to add
PnpLockdown directive to INI [1]. Add it since virt2phys has no
potential use-cases that require modifications to driver files.

[1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-version-section

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 windows/virt2phys/virt2phys.inf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/windows/virt2phys/virt2phys.inf b/windows/virt2phys/virt2phys.inf
index c1ea8d9..5af77d2 100644
--- a/windows/virt2phys/virt2phys.inf
+++ b/windows/virt2phys/virt2phys.inf
@@ -8,6 +8,7 @@  ClassGuid = {6d53d3f7-734b-44ec-a6a9-4e369dc121a4}
 Provider = %ManufacturerName%
 CatalogFile = virt2phys.cat
 DriverVer =
+PnpLockdown = 1
 
 [DestinationDirs]
 DefaultDestDir = 12