Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp151632rwi; Tue, 18 Oct 2022 15:35:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dJpnmRgo6Ieh9gijDFxbO5ncHH6ePp8yE8DffmZijjVcJGfducUoz4Kl7BBZeyOZ1kNfK X-Received: by 2002:a17:906:846e:b0:78d:ed3c:edfa with SMTP id hx14-20020a170906846e00b0078ded3cedfamr4237917ejc.515.1666132553536; Tue, 18 Oct 2022 15:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666132553; cv=none; d=google.com; s=arc-20160816; b=V5JjJp5B09CCvRmMHfLZjR3UyMVMpcZgunuOY+z1LlI7eJlL/2BQ2ynQlGMBEd8MCw PtT4mbs58fAZRlyyEOdjWYto6iJa+dAeOc0jEzc9pJOeksY+Mhw6o6T3OeqPVtedewUx U/lGZ2bW4oh9998r73HawtBfgQpOOkaawlNr7HUuNWGMBIR+yWg0fDrhOexxbvjNr7mV Exo0MZlEc3FkJesd2hReMtRP3grNvgXX/vbf5a87YDdD3Wtu2owwnnVEYfbtkiTqMPKF 28JYpL236usxkpuvI6HoN8GI2m3O6wIp8PDFaUH6Is8YnvCijMtZyHsSxieatPRjvkt8 Vn5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AcSbAKhgfFNYKly19CbME+IiEW1IDh1zgWMkmjwifVI=; b=i113TQLq22I3hz0uBjHp0FWh9O52ROQz7qk8Ql9ACrZXUhY0OFnJNQaoJdN03dfrnd KgOi6MaAeo6E01vVODZlGUYBW7BsMnqwVY5OQbz2lfk0mGiwyMTNbujpU4d8Pd8WG8o5 09DO37MKpv0ZsBAcmgSHDXQ8jkwQZVv77xPtDrfg+qi7Y1ehT7zOEA7AiUp0CYmMAl7b 9pA6yy4PHPJS3mubgcvtfD9MUxO/H/AMNuK7oLGUgAC+Ic311UutLJ7iNKcOwlwOGAui N6/i5GJyeUOuKp7ebW/yLExEeAUXlLdwL98It/KuKEOYnhD1b9SFpB4lnmuYfsrDbnYI ycgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=bH7jWveR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170906114600b007824b741e7asi10816490eja.236.2022.10.18.15.35.07; Tue, 18 Oct 2022 15:35:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=bH7jWveR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbiJRWQ0 (ORCPT + 99 others); Tue, 18 Oct 2022 18:16:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbiJRWQP (ORCPT ); Tue, 18 Oct 2022 18:16:15 -0400 Received: from smtpcmd02101.aruba.it (smtpcmd02101.aruba.it [62.149.158.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 46A7D8BBB9 for ; Tue, 18 Oct 2022 15:16:11 -0700 (PDT) Received: from localhost.localdomain ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id kub2omqjesjaWkub3oJ4jq; Tue, 18 Oct 2022 23:58:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666130282; bh=a8oTHWoDPOIQF47GHhSIrxsKaQ/Iu/lrAtlAUr+eRSo=; h=From:To:Subject:Date:MIME-Version; b=bH7jWveRojiKBSLhRcmWnH1WifnDX/PHR9ZDeGXtEf1Y1rmOgXjcdg4yAj51bLQuQ 5bEIo64O8bV9knY+cMjoTHaHzSkZFsFnqjPRLvFqT33ISDNgHMBqt5qw3/eVDOfaYC sOJ6CzjbCABCMo7RnE2Cl/4V7aCPI+gsfNc20Fl4bSm9fDzuDSNIaLXOiglemAOODg SIJW9exVxIuy8U3/fwSwqd3WE3/v73W0d7LGYz9xIV5ZtBlQZ9rYebDKdEYE3hWxfQ Q3SsY5vew+iYjOS0h/VExWQhC5pMv1ESnrw1JASfzZdmPAAiDUcC83dAq0o7Trmu+G iiUwN0dbNNreA== From: Giulio Benetti To: Arnd Bergmann , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-raid@vger.kernel.org Cc: "Rafael J . Wysocki" , Len Brown , Mark Brown , Song Liu , Giulio Benetti Subject: [PATCH 1/3] ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0) Date: Tue, 18 Oct 2022 23:57:53 +0200 Message-Id: <20221018215755.33566-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfLP2urURZfQFB1yAY55ub1PVpneyUyJ0CHOO3oG9A8j9epcn57H4WVK+0ow2sxVOxI/GMoQzCt3q4X9ONmIe6QPNrjBO+Pu3SC60MP1YHQ0YnsUZpEhs kppXUQ/W23tfU8VcLha7d6EfRUCpvKaOHPmyQj4oDi4PHXJfLl/k5083pJzmbwdKc4sab0oP9kM88PqZjhZbsLlb+7af01eviIlOVmxeQgtfNIrA3r9PtuCM 38tjmV0Rvf8iRqJg3GclatvHMBMastuttgrqZfWIM96yUj/bbZx904Tok7HVi5rbJdmxvhhuXBvEk7pWnsw5AWxBhQRPjCdEQ6cXU1ceWAVoh5EThxOy67mB pnnEoIHN8bPt1SahRnxY7XY5/eUQrxsFole9s6cvRinoSVA7CFTdnkRoCdSgP+BLnjunBjUbAYYXy3q/ZeO0JKDgENo5W0HDcs8Dm2KkEHiYJSE5ebUxorax jmzqjWu4h8c6iyQlNseXLWIrqT+vHcYeO934LA8PJ2Cc5l7QWNvLtXVfQR+EaO/VH7/VS9dA1FMmQ2yT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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