Message ID | 20221018215755.33566-1-giulio.benetti@benettiengineering.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp12379wrs; Tue, 18 Oct 2022 15:24:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cD1p8ks2kklG4iEB5o9pHhEC7uIaf3hyWvbNWm0gov5tMaOjzUTfm3SLSu1ziQ+zMKCR0 X-Received: by 2002:a17:902:9a07:b0:178:8024:1393 with SMTP id v7-20020a1709029a0700b0017880241393mr5182976plp.128.1666131865307; Tue, 18 Oct 2022 15:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666131865; cv=none; d=google.com; s=arc-20160816; b=PQd3bIpZR/3IrLZ2b4ijm+pvhfZYbmvicsGux5f447rFwp4eXrxtp/dzrrhW1Jy1RX 7gJ44OC3euKmQRSje7sW2b3Edfj6YkXkhY/W+cinjZ9IilMR3fiFc+M6UgAULZU7NLjT 5zhMTfRqTVPdOQH5NNBDwwDNFkWon6SSIOEmp0c4e8eZwRp68jSzlWYZc06lAkcqLSeP tQft4H0VgxdQVlvjEMbT8/2MiuX6UZw+583seIPup/p3+jtbmTCbWavDMVxywS14nZi3 4Jm6PWLIi5CYbASEvnDToOavAacZ6PLsWOtVfx0cN+7tFMpzRMiIXqNypjcJOs/EFaoR /c2g== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l69-20020a638848000000b00463cdd82176si14839628pgd.184.2022.10.18.15.24.11; Tue, 18 Oct 2022 15:24:25 -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 <rfc822;samuel.l.nystrom@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <giulio.benetti@benettiengineering.com> To: Arnd Bergmann <arnd@arndb.de>, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-raid@vger.kernel.org Cc: "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Mark Brown <broonie@kernel.org>, Song Liu <song@kernel.org>, Giulio Benetti <giulio.benetti@benettiengineering.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747065886916478379?= X-GMAIL-MSGID: =?utf-8?q?1747065886916478379?= |
Series |
[1/3] ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0)
|
|
Commit Message
Giulio Benetti
Oct. 18, 2022, 9:57 p.m. UTC
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(-)
Comments
On Tue, 18 Oct 2022 23:57:53 +0200, Giulio Benetti wrote: > Not all zero page implementations use empty_zero_page global pointer so > let's substitute empty_zero_page occurence with helper ZERO_PAGE(0). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [2/3] spi: fsl-cpm: substitute empty_zero_page with helper ZERO_PAGE(0) commit: 3be6acda8241352c57d47b4d7d9968cadcb954ea All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
On Tue, Oct 18, 2022 at 11:59 PM Giulio Benetti <giulio.benetti@benettiengineering.com> wrote: > > 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"; > > -- Applied as 6.2 material, thanks!
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";