All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0)
@ 2022-10-18 21:57 Giulio Benetti
  2022-10-18 21:57 ` [PATCH 2/3] spi: fsl-cpm: " Giulio Benetti
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Giulio Benetti @ 2022-10-18 21:57 UTC (permalink / raw)
  To: Arnd Bergmann, linux-acpi, linux-kernel, linux-spi, linux-raid
  Cc: Rafael J . Wysocki, Len Brown, Mark Brown, Song Liu, Giulio Benetti

Not all zero page implementations use empty_zero_page global pointer so
let's substitute empty_zero_page occurence with helper ZERO_PAGE(0).

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 drivers/acpi/scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 558664d169fc..4d2d274cc8ad 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -30,7 +30,7 @@ extern struct acpi_device *acpi_root;
 #define ACPI_BUS_HID			"LNXSYBUS"
 #define ACPI_BUS_DEVICE_NAME		"System Bus"
 
-#define INVALID_ACPI_HANDLE	((acpi_handle)empty_zero_page)
+#define INVALID_ACPI_HANDLE	((acpi_handle)ZERO_PAGE(0))
 
 static const char *dummy_hid = "device";
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-03 18:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 21:57 [PATCH 1/3] ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0) Giulio Benetti
2022-10-18 21:57 ` [PATCH 2/3] spi: fsl-cpm: " Giulio Benetti
2022-10-18 21:57 ` [PATCH 3/3] raid: " Giulio Benetti
2022-10-19 11:00   ` Christoph Hellwig
2022-10-19 13:19     ` Giulio Benetti
2022-10-19 16:04     ` [PATCH] lib/raid6: drop RAID6_USE_EMPTY_ZERO_PAGE Giulio Benetti
2022-10-19 16:10       ` Christoph Hellwig
2022-10-20 18:21         ` Song Liu
2022-10-19 16:12     ` [PATCH 3/3] raid: substitute empty_zero_page with helper ZERO_PAGE(0) Giulio Benetti
2022-10-19 14:56 ` (subset) [PATCH 1/3] ACPI: scan: " Mark Brown
2022-11-03 18:53 ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.