projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf02a0
)
ACPICA: Add a missing pair of parentheses
author
Jung-uk Kim
<jkim@FreeBSD.org>
Wed, 24 Jan 2018 23:42:32 +0000
(15:42 -0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sun, 4 Feb 2018 07:58:31 +0000
(08:58 +0100)
Signed-off-by: Jung-uk Kim <jkim@free_BSD.org>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/actypes.h
patch
|
blob
|
blame
|
history
diff --git
a/include/acpi/actypes.h
b/include/acpi/actypes.h
index 0b6b55f1e597ff908b9c4d7beaf76b2387f9730b..4fed3310235a5df8721afcc69c15c0b9931ed365 100644
(file)
--- a/
include/acpi/actypes.h
+++ b/
include/acpi/actypes.h
@@
-532,7
+532,7
@@
typedef u64 acpi_integer;
#define ACPI_CAST_INDIRECT_PTR(t, p) ((t **) (acpi_uintptr_t) (p))
#define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)))
#define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) - (acpi_size)(b)))
-#define ACPI_PTR_DIFF(a, b) (
acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, (b
)))
+#define ACPI_PTR_DIFF(a, b) (
(acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, (b)
)))
/* Pointer/Integer type conversions */