https://git.reactos.org/?p=reactos.git;a=commitdiff;h=662774bca3ab4e0d3fb48…
commit 662774bca3ab4e0d3fb484074bad4cfb50a530f6
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Mon Apr 12 14:17:14 2021 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Wed Apr 28 13:10:23 2021 +0200
[NTOS] Do not force-align an integer value
---
ntoskrnl/include/internal/io.h | 2 +-
ntoskrnl/io/pnpmgr/pnpirp.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/include/internal/io.h b/ntoskrnl/include/internal/io.h
index e43f4769c94..12f9ebea0bc 100644
--- a/ntoskrnl/include/internal/io.h
+++ b/ntoskrnl/include/internal/io.h
@@ -1389,7 +1389,7 @@ PiIrpQueryDeviceRelations(
NTSTATUS
PiIrpQueryDeviceText(
_In_ PDEVICE_NODE DeviceNode,
- _In_ LCID POINTER_ALIGNMENT LocaleId,
+ _In_ LCID LocaleId,
_In_ DEVICE_TEXT_TYPE Type,
_Out_ PWSTR *DeviceText);
diff --git a/ntoskrnl/io/pnpmgr/pnpirp.c b/ntoskrnl/io/pnpmgr/pnpirp.c
index 48d924d6c7c..66e4382bdc6 100644
--- a/ntoskrnl/io/pnpmgr/pnpirp.c
+++ b/ntoskrnl/io/pnpmgr/pnpirp.c
@@ -200,7 +200,7 @@ PiIrpQueryDeviceRelations(
NTSTATUS
PiIrpQueryDeviceText(
_In_ PDEVICE_NODE DeviceNode,
- _In_ LCID POINTER_ALIGNMENT LocaleId,
+ _In_ LCID LocaleId,
_In_ DEVICE_TEXT_TYPE Type,
_Out_ PWSTR *DeviceText)
{
@@ -236,7 +236,7 @@ PiIrpQueryPnPDeviceState(
PAGED_CODE();
ASSERT(DeviceNode);
- ASSERT(DeviceNode->State == DeviceNodeStartPostWork ||
+ ASSERT(DeviceNode->State == DeviceNodeStartPostWork ||
DeviceNode->State == DeviceNodeStarted);
ULONG_PTR longState;