Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3052530ybb; Sun, 12 Apr 2020 22:44:53 -0700 (PDT) X-Google-Smtp-Source: APiQypL+AiQ6OFG2dNUameUff/56hzvKhoVfQd7+77ke8mR30vHwNOmo+iUSkKB0sKkU/4RbVJpn X-Received: by 2002:ac8:4e92:: with SMTP id 18mr3807371qtp.316.1586756693094; Sun, 12 Apr 2020 22:44:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586756693; cv=none; d=google.com; s=arc-20160816; b=sn5aXMtBSg+XhUxXuQ7nTacecFMOWM6T/VNrnOK77Jc+UIE5gM5E2YygAtGcV8Xg7X xTxMnwuB+u75dEHK/O68pt70AojDZR9oaLwaD4UdZb94/VLHyuZAmqRZxwq6Ha0nkacQ PCfbVDAhgrFgP7+DN1x27ugnxG2sYq/zeNTkiRvBb3mpxVfD3GZ83AfOldLyOprTgoKC T2TY0uwRZLLcJA1xYym0hpQRdp2nJKgiz6zqJ+t/ELIh6ZeOCTQuJ4FJ+/dkmdwkFJ7g Iz1yr/C6dDb6rDK7C6Ne9FmrLv+0MgJ5PkHH05tnSr+JRmixs52h4z5zEGf5vZwcA4WU 0gsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=FZ/tcNXoAgAXq9JDrx/IBnjGSDeN1yynq2BOYQhPodU=; b=XntMqvtDzfaPyGSibVt/tYHA5ieF9WTmfG2Ou+KQUjBSF0/1MXlDDKdO5pl8ckumW4 JvubCjNV31wOGS2dVB8yy7sxlHCJYO5EZZd4QmgsEyYA/Yd1ANdS+PN6wDhRIGSg7rPL QdQuMEdLDxZcUeyLm/bMPWU2Sul7AtqLBd7pWzVXfMzM68P9+hBbmamRX7x5F/C+Hmc2 6VI/Rxcln+iO3RQGlaoSwhsFdxTWGJZEb83R4ldaBlT8lDl/x6sbF7toNkbFlRjSgfs1 PK4NYqp4uVxzal/BSb348NbCurysHPpKj6d6HVHnBoWRtuI/jaezPv/krgnU1ouTGhKj ZsaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=m+GQ4U+9; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org ([209.132.180.67]) by mx.google.com with ESMTP id h15si5042371qvx.35.2020.04.12.22.44.38; Sun, 12 Apr 2020 22:44:53 -0700 (PDT) Received-SPF: neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=m+GQ4U+9; spf=neutral (google.com: 209.132.180.67 is neither permitted nor denied by best guess record for domain of linux-kernel-owner@vger.kernel.org) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727061AbgDMBuC (ORCPT + 99 others); Sun, 12 Apr 2020 21:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.18]:34196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgDMBuB (ORCPT ); Sun, 12 Apr 2020 21:50:01 -0400 Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6EFC0A3BE0 for ; Sun, 12 Apr 2020 18:50:01 -0700 (PDT) Received: from oscar.flets-west.jp (softbank060142179096.bbtec.net [60.142.179.96]) (authenticated) by conuserg-07.nifty.com with ESMTP id 03D1mGSZ015156; Mon, 13 Apr 2020 10:48:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com 03D1mGSZ015156 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1586742497; bh=FZ/tcNXoAgAXq9JDrx/IBnjGSDeN1yynq2BOYQhPodU=; h=From:To:Cc:Subject:Date:From; b=m+GQ4U+9S375ShJvqBCxDDx05JNyTU578Qo/sHjuxPtGXefHrISFjRK7b51bqCW0o U5Fxt6J3RaTuyvZEjFJjTQFAasA+Qjvk33UUWVjaY/Bz3c+cFipnNnpxuGnDCJhLfL sPCihmHbR0dK48uw3InaOVaRx9OXq3EKkKaipXlRQo8vCccScSGxQipCYPRuKvP+XK NmVXacovfeh0ady1WNj9PjAkrTBwrSxbGkKLMhIxfjx1m9RV/hIi2ct59g0nu9YPRG y1XVCN3X641Ipg43U1VVSXoYp/gdR0D9Ep/53LTEQo5Ari3OofuuUN2Ww5c5GL9yud oG90jFJzTqPgw== X-Nifty-SrcIP: [60.142.179.96] From: Masahiro Yamada To: Andrew Morton , Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Dan Williams , David Hildenbrand , Logan Gunthorpe , Michal Hocko , Mike Rapoport , Oscar Salvador , Thomas Gleixner Subject: [PATCH] sh: fix build error in mm/init.c Date: Mon, 13 Apr 2020 10:47:43 +0900 Message-Id: <20200413014743.16353-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The closing parenthesis is missing. Fixes: bfeb022f8fe4 ("mm/memory_hotplug: add pgprot_t to mhp_params") Signed-off-by: Masahiro Yamada --- arch/sh/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index b9de2d4fa57e..8d2a68aea1fc 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -412,7 +412,7 @@ int arch_add_memory(int nid, u64 start, u64 size, unsigned long nr_pages = size >> PAGE_SHIFT; int ret; - if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot) + if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot)) return -EINVAL; /* We only have ZONE_NORMAL, so this is easy.. */ -- 2.25.1