From patchwork Tue Oct 1 00:23:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11167905 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 5E6B0912 for ; Tue, 1 Oct 2019 00:23:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 24958218DE for ; Tue, 1 Oct 2019 00:23:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ca1w28MK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24958218DE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 58C1A6B0005; Mon, 30 Sep 2019 20:23:21 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 53D5B6B0006; Mon, 30 Sep 2019 20:23:21 -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 42AC46B0007; Mon, 30 Sep 2019 20:23:21 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0141.hostedemail.com [216.40.44.141]) by kanga.kvack.org (Postfix) with ESMTP id 1C6E36B0005 for ; Mon, 30 Sep 2019 20:23:21 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id AE799824CA3E for ; Tue, 1 Oct 2019 00:23:20 +0000 (UTC) X-FDA: 75993316560.14.queen27_3a4161586704b X-Spam-Summary: 2,0,0,7870fe6b94e29062,d41d8cd98f00b204,rdunlap@infradead.org,:linux-kernel@vger.kernel.org::akpm@linux-foundation.org:andreyknvl@google.com,RULES_HIT:41:152:355:379:800:854:960:973:988:989:1260:1277:1311:1313:1314:1345:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2559:2562:3138:3139:3140:3141:3142:3352:3866:3867:3870:3871:4321:4605:5007:6261:6653:7576:7875:10004:10400:11026:11232:11658:11914:12043:12297:12438:12517:12519:12679:12760:13069:13311:13357:14181:14394:14721:21080:21212:21451:21611:21627:21795:30054,0,RBL:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: queen27_3a4161586704b X-Filterd-Recvd-Size: 3292 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Tue, 1 Oct 2019 00:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fsLx0GJUJTlmuF55t2D7ilPhf07K45hnoVtMrAljrE4=; b=ca1w28MK4nxmnpiwVOWOYAEFT SbbdtRaAkpUmfqVIFBvvgIuJ/2qShONsmiH2C/5bymEzZ/+8gyH/PIe0rxUmK2h8txKka2DDpEWLk LxyTGNhH7zccuYZeLrId029OJTaEJ8cfzubexl5SXsG57PtgsQ4CSKJTpnSUNl8VN4nyzuFHSxOgf mYgV3MHWuUwTj/x/4G5qNOutUNU90pGVRBlu4kvtiplKoRfeD7sCWc6SkC0TKgRW8M9+it0ls58vD 46JdwUseC791j0xbGzijsim6GgpLmQ27keKSlFs/ObB5LUhcEfcrm3IG/6JmStpKBtH1m39lZXeMD O4dKNz5/Q==; Received: from [2601:1c0:6280:3f0::9a1f] by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iF5wh-0005zc-9z; Tue, 01 Oct 2019 00:23:15 +0000 To: LKML , Linux MM , Andrew Morton Cc: Andrey Konovalov From: Randy Dunlap Subject: [PATCH mmotm] sparc64: pgtable_64.h: fix mismatched parens Message-ID: <29dd42d5-52e3-e2a2-679f-f0e8648f2b40@infradead.org> Date: Mon, 30 Sep 2019 17:23:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Language: en-US 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: Randy Dunlap Fix lib-untag-user-pointers-in-strn_user.patch unmatched left paren. Fixes many of these build errors: ../mm/gup.c: In function '__get_user_pages': ../mm/gup.c:791:30: error: expected ')' before ';' token start = untagged_addr(start); ^ In file included from ../arch/sparc/include/asm/pgtable.h:5, from ../include/linux/mm.h:99, from ../mm/gup.c:7: ../arch/sparc/include/asm/pgtable_64.h:1102:2: note: to match this '(' ((__typeof__(addr))(__untagged_addr((unsigned long)(addr))) ^ ../mm/gup.c:791:10: note: in expansion of macro 'untagged_addr' start = untagged_addr(start); ^~~~~~~~~~~~~ ../mm/gup.c:892:21: error: expected ';' before '}' token Signed-off-by: Randy Dunlap Cc: Andrey Konovalov --- Is this already fixed??? arch/sparc/include/asm/pgtable_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- mmotm-2019-0925-1810.orig/arch/sparc/include/asm/pgtable_64.h +++ mmotm-2019-0925-1810/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) {