From 87afde19f71f3cdb7fa6b60ecf30413a13c023ed Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Mon, 21 Dec 2020 06:17:42 +0100 Subject: [PATCH] [0.4.11][NTOSKRNL] Demote some noisy dprints picked from 0.4.13-dev-988-g 1539fb1414d099096475ee7a859e8da54379ad79 --- ntoskrnl/io/pnpmgr/plugplay.c | 4 ++-- ntoskrnl/po/power.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ntoskrnl/io/pnpmgr/plugplay.c b/ntoskrnl/io/pnpmgr/plugplay.c index 83a4cb60008..ac696f63cf2 100644 --- a/ntoskrnl/io/pnpmgr/plugplay.c +++ b/ntoskrnl/io/pnpmgr/plugplay.c @@ -1023,7 +1023,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData) #endif { /* A driver has already been loaded for this device */ - DPRINT1("A reboot is required for the current driver for '%wZ' to be replaced\n", &DeviceNode->InstancePath); + DPRINT("A reboot is required for the current driver for '%wZ' to be replaced\n", &DeviceNode->InstancePath); DeviceNode->Problem = CM_PROB_NEED_RESTART; } } @@ -1039,7 +1039,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData) if (NT_SUCCESS(Status)) { /* Start the service and begin PnP initialization of the device again */ - DPRINT1("A new driver will be loaded for '%wZ' (no FDO above)\n", &DeviceNode->InstancePath); + DPRINT("A new driver will be loaded for '%wZ' (no FDO above)\n", &DeviceNode->InstancePath); Status = IopActionInitChildServices(DeviceNode, DeviceNode->Parent); } } diff --git a/ntoskrnl/po/power.c b/ntoskrnl/po/power.c index c34a660c86e..ee3e461307c 100644 --- a/ntoskrnl/po/power.c +++ b/ntoskrnl/po/power.c @@ -618,7 +618,7 @@ VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp) { - UNIMPLEMENTED; + UNIMPLEMENTED_ONCE; } /*