Message ID | 20210416224620.vDDxhwPBO%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=DWy+=JN=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79752C433B4 for <linux-mm@archiver.kernel.org>; Fri, 16 Apr 2021 22:46:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2C52C6108B for <linux-mm@archiver.kernel.org>; Fri, 16 Apr 2021 22:46:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C52C6108B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C302B6B007D; Fri, 16 Apr 2021 18:46:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C06A36B007E; Fri, 16 Apr 2021 18:46:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ACF8A6B0080; Fri, 16 Apr 2021 18:46:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0108.hostedemail.com [216.40.44.108]) by kanga.kvack.org (Postfix) with ESMTP id 957066B007D for <linux-mm@kvack.org>; Fri, 16 Apr 2021 18:46:22 -0400 (EDT) Received: from smtpin34.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 5382018033E6F for <linux-mm@kvack.org>; Fri, 16 Apr 2021 22:46:22 +0000 (UTC) X-FDA: 78039715404.34.6D040F6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf22.hostedemail.com (Postfix) with ESMTP id 97E52C0007CE for <linux-mm@kvack.org>; Fri, 16 Apr 2021 22:46:17 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2117C613C5; Fri, 16 Apr 2021 22:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1618613181; bh=MkCvSbtAeLbKTeGB85UdZQMtFmOwEku9Mq87qmjNORo=; h=Date:From:To:Subject:In-Reply-To:From; b=2Ksq4w23sD3jOQ6M8HvOAnbdVo7LiR5AQ1qnw8D8CNGXsLdepyuK6ypg0XvvuU+in n4Sn+lqFLgm8DhcA2QJmWdbjc354gec7mx/C8x1dsX0+q2KDcxtja+b2iO1kwvhoXW cDWPywCfFjy/S4WVXZmVnLT2N9Bdmzx1Jai+M/cs= Date: Fri, 16 Apr 2021 15:46:20 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, christophe.leroy@csgroup.eu, linux-mm@kvack.org, mm-commits@vger.kernel.org, steven.price@arm.com, torvalds@linux-foundation.org Subject: [patch 10/12] mm: ptdump: fix build failure Message-ID: <20210416224620.vDDxhwPBO%akpm@linux-foundation.org> In-Reply-To: <20210416154523.3f9794326e8e1db549873cf8@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 97E52C0007CE X-Stat-Signature: kq7bu51asafca5dgauuajppw8ibzwj6g Received-SPF: none (linux-foundation.org>: No applicable sender policy available) receiver=imf22; identity=mailfrom; envelope-from="<akpm@linux-foundation.org>"; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1618613177-453288 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/12] mm: eliminate "expecting prototype" kernel-doc warnings
|
expand
|
--- a/mm/ptdump.c~mm-ptdump-fix-build-failure +++ a/mm/ptdump.c @@ -111,7 +111,7 @@ static int ptdump_pte_entry(pte_t *pte, unsigned long next, struct mm_walk *walk) { struct ptdump_state *st = walk->private; - pte_t val = READ_ONCE(*pte); + pte_t val = ptep_get(pte); if (st->effective_prot) st->effective_prot(st, 4, pte_val(val));