From patchwork Thu Sep 26 14:28:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 11162851 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 325C814E5 for ; Thu, 26 Sep 2019 14:28:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E9837222C7 for ; Thu, 26 Sep 2019 14:28:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xWy/bK62" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9837222C7 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 20A548E0017; Thu, 26 Sep 2019 10:28:20 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1BC458E0015; Thu, 26 Sep 2019 10:28:20 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0D1428E0017; Thu, 26 Sep 2019 10:28:20 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0075.hostedemail.com [216.40.44.75]) by kanga.kvack.org (Postfix) with ESMTP id E60338E0015 for ; Thu, 26 Sep 2019 10:28:19 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 90FFF759C for ; Thu, 26 Sep 2019 14:28:19 +0000 (UTC) X-FDA: 75977301918.13.jeans94_e73adc6a2d0f X-Spam-Summary: 2,0,0,bb26a690c7d35914,d41d8cd98f00b204,akpm@linux-foundation.org,:akpm@linux-foundation.org:andreyknvl@google.com:davem@davemloft.net::mm-commits@vger.kernel.org:torvalds@linux-foundation.org,RULES_HIT:41:355:379:800:960:973:988:989:1260:1345:1381:1431:1437:1534:1540:1711:1714:1730:1747:1777:1792:2198:2199:2393:2559:2562:3138:3139:3140:3141:3142:3350:3865:3867:3870:5007:6261:6653:7576:9545:10004:11026:11658:11914:12043:12048:12297:12438:12517:12519:12550:12679:13069:13161:13229:13311:13357:14181:14384:14721:21080:21451:21627:21795:30051:30054,0,RBL:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:26,LUA_SUMMARY:none X-HE-Tag: jeans94_e73adc6a2d0f X-Filterd-Recvd-Size: 2219 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Thu, 26 Sep 2019 14:28:19 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCB10222C6; Thu, 26 Sep 2019 14:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569508098; bh=KJOTm5jqHopg4hzw229dgR+jlgz9h+G6Xs+yCxqa1CY=; h=Date:From:To:Subject:From; b=xWy/bK62lDww/daShOTGB5vJhUq031P04UiBXkC1HmJhVy0p7+ncr0KOImQCFyePv aQgfCihDPtuxPtD3XBtRnbEfGQ8lwc1viuSR8ABbyhPZExd5OYBtHHrkWcePyq9B+m 8hajsLH9GagFlmk1pzIKSrlNo3OZJ3mEB5ukwkvc= Date: Thu, 26 Sep 2019 07:28:17 -0700 From: akpm@linux-foundation.org To: akpm@linux-foundation.org, andreyknvl@google.com, davem@davemloft.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org Subject: [patch 1/1] arch/sparc/include/asm/pgtable_64.h: fix build Message-ID: <20190926142817.-x87Q8YwY%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 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: From: Andrew Morton Subject: arch/sparc/include/asm/pgtable_64.h: fix build A last-minute fixlet which I'd failed to merge at the appropriate time had the predictable effect. Fixes: f672e2c217e2d4b2 ("lib: untag user pointers in strn*_user") Cc: Andrey Konovalov Cc: David Miller Signed-off-by: Andrew Morton --- arch/sparc/include/asm/pgtable_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/sparc/include/asm/pgtable_64.h~arch-sparc-include-asm-pgtable_64h-fix-build +++ a/arch/sparc/include/asm/pgtable_64.h @@ -1099,7 +1099,7 @@ static inline unsigned long __untagged_a return start; } #define untagged_addr(addr) \ - ((__typeof__(addr))(__untagged_addr((unsigned long)(addr))) + ((__typeof__(addr))(__untagged_addr((unsigned long)(addr)))) static inline bool pte_access_permitted(pte_t pte, bool write) {