Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2921104iob; Mon, 16 May 2022 09:03:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyskk2rW62KUmFpV1akRE2uNwEQFvz99OMUyrPiXDLO2SXl4my92QXGd+uHdLsgQ2G0BchZ X-Received: by 2002:a17:907:1c0f:b0:6f5:fd1:39cd with SMTP id nc15-20020a1709071c0f00b006f50fd139cdmr16238844ejc.516.1652716984168; Mon, 16 May 2022 09:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652716984; cv=none; d=google.com; s=arc-20160816; b=GCnuGyq+jJZ1FnEUAfeGoBErZ+CoblHvvUKN/7HZgfMeVLQ+p3uaZfqzSSzLf4edMs x3ok9NO6h+oPsToAeu8gzQeHHyktp6JWszRAKhxltd1/z3hyjO7GjEjhQSSFdJyhOON3 nX+nScDCnMXLDqD2oUq/IiIBP+EFjVhBCibeoU6janPkYvfJQdu7dLjAdaUytN+K1ZsT pdPSQG+/9ogqLhsUjy7RQgh56fyHv2+1SVWH5eMyym+2h2XOR95wF/Jhz0GOYmnYDI60 GTjz95Dje11/iZRnmUbivZu/CIqxGROrzDZjDGdgFG4CDvldjjK+Y7cdCMCodJSPqREX oo9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Qbprg47mGff8Lx1bZNFprPokgJzmTbqarB9U8g9864M=; b=XwFxiEg9X5uig+2EosyCOo0+0yDvB0TCPSXW98FRiL1suT/NzbkAJJEoPCuXrFK4S7 jwaCmMO2cgOlQqFNHqzdpC+LRqlch6k2LQmSCZC48JpBzCEZuvRgiSM9J/TBSqHEGzWp JuHV3SpydnwWTu58/n1N1261wFSoOqCAJhvEfN9AWxWQy0dzMuKziPJMTpuD8cA/gkyl 00E+5fEL+jFhWkp0qDbvzbsBvTO60Pw9e1lBCLJgtqAtsAgtqb3gRaajjoZV9rQLXi1z Qdl9nNFtJgAGyc2nAT6nBbcmmkEORdkouOYGVjQAbpMgk0KEzDkrTGbf95/IFRLEFkDo FxCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=qQVsp07K; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd14-20020a1709069b8e00b006fde12d505bsi144550ejc.406.2022.05.16.09.02.32; Mon, 16 May 2022 09:03:04 -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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=qQVsp07K; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239703AbiEPDlk (ORCPT + 99 others); Sun, 15 May 2022 23:41:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiEPDlh (ORCPT ); Sun, 15 May 2022 23:41:37 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C63702654F for ; Sun, 15 May 2022 20:41:36 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id o130so9333101ybc.8 for ; Sun, 15 May 2022 20:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qbprg47mGff8Lx1bZNFprPokgJzmTbqarB9U8g9864M=; b=qQVsp07KIB+qqikjoNoppCVqqixSC+TdjhSj0lw9Shz8BK8rlDc6mguvc4fKZ2i88u RWB73JoN9yOKoxVTofZYB3x7wh7h8sbSq5/YzBWQQLDuOV3m9v/SKdzl0Mt6e41R2lma smsSoxYLF9mncbtOA8o75RLdx5Nht21UovWtTIuvLf2ZRFSHsdCMZiw6VO/KoiAlKKYJ r7JIWg8vhOk6dQ47oBLNtZe7bQ8kxbmS+FCkUyqyGZ6RuRA/IOc1koDfmzcn+PQz1Arg opLGJRKWRLtjiG+5EwolqnaFqw6Rinbejee+KKcPu+PVutAocnwPZvKYtCSHYhSLtqbb 5lxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qbprg47mGff8Lx1bZNFprPokgJzmTbqarB9U8g9864M=; b=F3n8t8zB04fKvU6v38YO1h8rE/Vci7Jpz0SMSUaahby+Ji78I9v2OAooTQNdLJu6az 7o79MWbjhtZMUwU5S17b31i7hhQByrreOf480maj0CarereDbh0JlQ5HqK0p7HVWUovf VkHgr8OOIN+DNUPkXCpfFdiqbfdsm/PYaWVF6lCdisA9XcJzy3mxdk2clKtPNdRkGo3u knD2/tbVZD+uK0xM0mNLToXht9X2YHbbtJwiEof238WjGAKl6hLRi9k7HzhggtZnw2ZV pvIcuKxWn20BCo7vzAYnQ4umXKKPZlmI+pTpJzbpvQ5GZhd5U5wsJFbfE1nqCPW+77Gc gW5A== X-Gm-Message-State: AOAM533wWVfPDlty4MILUNwiEbRr7FFSqPCzlTX9RDr+y8QthoUYMP/a Q4Iep61IukEZ2weZayE2oUDRnzDc9FzkhAUf6kuQGo1Tv0YT3Q== X-Received: by 2002:a25:4289:0:b0:64d:746f:5311 with SMTP id p131-20020a254289000000b0064d746f5311mr6664614yba.89.1652672496049; Sun, 15 May 2022 20:41:36 -0700 (PDT) MIME-Version: 1.0 References: <20220516030039.1487005-1-bh1scw@gmail.com> In-Reply-To: <20220516030039.1487005-1-bh1scw@gmail.com> From: Muchun Song Date: Mon, 16 May 2022 11:41:00 +0800 Message-ID: Subject: Re: [PATCH] mm/page_owner.c: Add missing __initdata attribute To: bh1scw@gmail.com Cc: Andrew Morton , LKML , Linux Memory Management List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Mon, May 16, 2022 at 11:09 AM wrote: > > From: Fanjun Kong > > This patch fix two issues: > 1. Add __initdata attribute according to include/linux/init.h: > > For initialized data: > > You should insert __initdata between the variable name and equal > > sign followed by value > > 2. Fix below error reported by checkpatch.pl: > ERROR: do not initialise statics to false > > Special thanks to Muchun Song :) > > Suggested-by: Muchun Song > Signed-off-by: Fanjun Kong Reviewed-by: Muchun Song Thanks.