Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1201174rwi; Wed, 19 Oct 2022 07:50:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7HZRwzFZmswwy44FZ0VaB+/aR3TQq82Id3pzoCKdEattONtIzZngBVkqayACs6WescS/jj X-Received: by 2002:a17:907:2c78:b0:78d:eacd:1060 with SMTP id ib24-20020a1709072c7800b0078deacd1060mr6972798ejc.244.1666191042462; Wed, 19 Oct 2022 07:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666191042; cv=none; d=google.com; s=arc-20160816; b=BZeX6MBCf7uDyY4SYXk56PiBN062xiacYUXfqF5vw6RpAsPUZkNi5QDhTEKvpb18op 2LdiXC0kckMlilcBca9ovF2oKqqPHcfr7UYOcO9OHL5YeLGF6yGPAkfr9SY/omNEtQjj mYN1SUa3+bSP3fFBops5m8CNy1/UAszS6Oerz05QKOFxSZDQ0u16MMW9WvtxTw8BbohY ySBo49nCf7wMNmjUsluaahBfGWtME1mLutmtVdglWVLb7e1ImtpbFyHPO9FT0fS/p1jQ U8jDsx4KRA0zoIiTWrkNxy71b7qzZoecc57z4qLh/9K7vB8hq5ysrJlBj76IQLRI8BCA ln6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p2BHo44JqFAPEoQaLCV3FC349VLrQp18eS3xqkoI1LQ=; b=JHoS2lxZb+JbBa/EKEZ5MFVPcN0FHZciVgSsWaqmtIF+3QMK02L39d8YO/DL3VEKuf TcfPCHbUsykBlWNpoJMuo7O6KQW4jqBF/Z3sDeAihEftOvRayWTViGnQXgF0X9cQLG11 uA8Y/oKdsRWRfOQi3KHm0r6iEeXurzcUvKqWrSwezCXOfTeF2MtjXbHGJX1096LxFu5w a5KkA7mq7rlfRG7HitpISBRosXB32EEfliih8YK5xHMjVisRi4C+EeeJrmXjGXwUzj/A SWwR39zYv2T7p158I/4HESudFYRMn5xiS78+A9FYAGqpCibunCrTQBM0xqrvNs/dg6ao iZ0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=VesLSrQj; 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 e11-20020a056402104b00b004587cd5a5bdsi12906914edu.81.2022.10.19.07.50.14; Wed, 19 Oct 2022 07:50:42 -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=VesLSrQj; 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 S229958AbiJSOon (ORCPT + 99 others); Wed, 19 Oct 2022 10:44:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbiJSOnw (ORCPT ); Wed, 19 Oct 2022 10:43:52 -0400 X-Greylist: delayed 3557 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 19 Oct 2022 07:30:02 PDT Received: from smtpdh19-1.aruba.it (smtpdh19-1.aruba.it [62.149.155.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F3E7FE935 for ; Wed, 19 Oct 2022 07:30:00 -0700 (PDT) Received: from [192.168.50.220] ([146.241.87.206]) by Aruba Outgoing Smtp with ESMTPSA id l8yLom6VCSmRKl8yLoC5TK; Wed, 19 Oct 2022 15:19:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666185545; bh=WDOGMpV390CNEKOYi9e07ywYx+WEmXUEkJzv9gxWxDQ=; h=Date:MIME-Version:Subject:To:From:Content-Type; b=VesLSrQjcCVgIuoR09xn8ccWOncxgNJcFM6I7wVwjsfV2pUdgYZ8hpjBNGvD2SOOt QZl+pQzHBrIw3NwIm2x6BYUm2MQhMb1dmqChCu3e7NqoHzI9dvaYYet6vnVAv5rI9o SdOyhMh3w2+81l3DjVSwJQap/i1CpzVudzmaK2wUd3yDKd96kZQk1P9LSiWNC2v4yX u+5TrkE30+LIE3aanSyzL+2Px9i1UtgsA8F6DI6ZrjwJaKqLOwpAo5QSUSMC0v0ubX TrNBJrNH3/l3GixjjJK78GYOS3iMGd4VnCk5Ur8SjrAGLk0J5B1/uodHhTEN7e4kSf 0sV/SxXC5mXGA== Message-ID: Date: Wed, 19 Oct 2022 15:19:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH 3/3] raid: substitute empty_zero_page with helper ZERO_PAGE(0) To: Christoph Hellwig Cc: Arnd Bergmann , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-raid@vger.kernel.org, "Rafael J . Wysocki" , Len Brown , Mark Brown , Song Liu References: <20221018215755.33566-1-giulio.benetti@benettiengineering.com> <20221018215755.33566-3-giulio.benetti@benettiengineering.com> Content-Language: en-US From: Giulio Benetti In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfB+NDAsiJxnR3l50nzexIf2Nm5qf9kozjDLXjBsMXnWsJq1kS6Prga/nWQyUoWheKfTCL6zoU+IRJI1sdAmagXZVMkd/FUYgd79e2NLN0969HIPurf4s 7FMqqGZHdB7dUwJp3GTb41IUsxfziJIyLnvZ2LjBS9yn5u/m8d4V+f0W95lHOCCGo8cqAJjRnoimvLFwFjpDbOaqnPBQADhxPA1Bpsw7xVtBnLVPAsqmdeAA hfVULjRA0+GBTwTI1NvhAMDIC2d/0nQl/Xb/svdU7BuHgAPVDgZ/rwbC4Xc+zmXCjZs9ATUNqmLhxECSEYGZmCCatC2GMc1CbjslIrBo+kmqc8HZKABoxeuz RaeT95Md9rzbiu3lgAtg3o/IqI0jmCKESRC5IiByX7ymiZH7J9EI94Tu767HTqsyTJCcYC18KkUPqUFcM9knS1Ut77Tiwd5WGx/a+hlWM+/Og0ZqY74KtyxQ LYFfX/FiHIR++SiEBaZlD2erzaOmk7J8BBA7GQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 Hi Cristoph, On 19/10/22 13:00, Christoph Hellwig wrote: > On Tue, Oct 18, 2022 at 11:57:55PM +0200, Giulio Benetti wrote: >> #if RAID6_USE_EMPTY_ZERO_PAGE >> -# define raid6_empty_zero_page empty_zero_page >> +# define raid6_empty_zero_page ZERO_PAGE(0) >> #else >> extern const char raid6_empty_zero_page[PAGE_SIZE]; > > RAID6_USE_EMPTY_ZERO_PAGE is never set to a non-zero value. So this > is dead code and we can just remove all code related to the > RAID6_USE_EMPTY_ZERO_PAGE case. thank you for taking a look. Should I send a patch for removing the code in this v2 patchset? Best regards -- Giulio Benetti CEO/CTO@Benetti Engineering sas