Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp112838rdg; Wed, 11 Oct 2023 23:42:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHemkfjmKHAXG2eNYf+ks5gA78z6CtJ247LGw6Q3kQw4+wPLHz52ioZjC3PTD9NhSAiZ4oC X-Received: by 2002:a05:6a20:7f86:b0:15e:a46f:fcfc with SMTP id d6-20020a056a207f8600b0015ea46ffcfcmr26783419pzj.21.1697092932788; Wed, 11 Oct 2023 23:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697092932; cv=none; d=google.com; s=arc-20160816; b=LI91iFi13qC2ehDNPIyeb6FM4L0DT7c0PPj0BYiZ3N783z3l6iHIf1CUWwT/BVuVjg xgbmuXZqTu6DNYE5eBbGow+beQyNyXPnmUF6EZim1oFwKW7a15T8QEgkonOpIdbtaKSF tXBl0h3NA/UfpXiUkv7Zwj+zAtjCixjbErJOYkHOqJ77cLzf9Pr6z/Kyi6Cma06ofh4v WyoUUeFBUvEWpaSpXdM5LSJ9JEX/h5Up7IFlldMJSV+h65yHeKLJl6hEqriJuVer/c2m t7rybZ5HtqwxrTSHE35rWj2DpZt1lK5PA4ERKV8AkVBvQ2TgGEp6/iSxlY0DkCxXw7/X k/Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=n0TLwEL98fn7ookMRf7+1+Dad/ghQuV6H54GoWPDmHw=; fh=ZVLyAnsXSkzuxmOpH7RkG2kZD1e+q+bAVuWcYNW+kD8=; b=vEMn72YWQrrWsVLRfg5EInISpHDJnZJI2562YV6TJLK+t6JrkWzMV4y1hABeH1iUS6 9xesRRVidObR01r/1FNDxxO/9LxlGkBdN8zEIrHp1Un/+8Wl1zA+gMTy5mpWwfOdKi7X MLxT6CBHLcOd/zxs4MqsmH7otY0X73KCa+45daqEZ9m+0HY43Z5OB3GkxoOjmofYE5cc 9Fax5m6DIjXvvPvlgmYfjQecaBkD+jxnR3FhEorfeyhzFrB4KGvT9RaPRvXTJID+OyNM /yOMfq8eJLLLq7m4Qup/M2pUMOF1SDPVmuKafSoG8Z/LzPENUSeCyzr0tWU3wKs1RY9g lz1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=Q9ADJqma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e10-20020a170902b78a00b001bb3bcd05bbsi1383233pls.471.2023.10.11.23.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 23:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=Q9ADJqma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1AAE8808EEE1; Wed, 11 Oct 2023 23:41:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377382AbjJLGlD (ORCPT + 99 others); Thu, 12 Oct 2023 02:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235305AbjJLGlB (ORCPT ); Thu, 12 Oct 2023 02:41:01 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EACA8C9; Wed, 11 Oct 2023 23:41:00 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39BKSwtA012765; Thu, 12 Oct 2023 06:40:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2023-03-30; bh=n0TLwEL98fn7ookMRf7+1+Dad/ghQuV6H54GoWPDmHw=; b=Q9ADJqmasrKLphCPFmBIbgQxPgj8o/G9ADjov7svxzodoknVO9QX8D1J2oS5T6U+tulm MqXasPKGkP9B5SrGqe7OojETVQbZh5Z0FcDW+domc6VNOUOBFe00sTsdrtZucoTE+HqQ /sl1kSU/F6Vl1NIbajkAU2wqny5zdu3DqVgo/H9+XTIRYoX4VrMVaabsReRuIcTRnVGo 2pYyzTadKzTUhdnQqisSNb8cAXYJaXtZJDxfI6CEdA5a28QyIdAVtu8dyvoyXKGLxTmK 1I9jXOe170fQS8sBHu2uudIvkVDfWiv0v/fCJXgkrNFzFpTI2C0fCyYUiuUTCkFK8d90 Kw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tjycdt0qq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 06:40:51 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 39C59TlQ019707; Thu, 12 Oct 2023 06:40:50 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3tjws9u9nv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 06:40:50 +0000 Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39C6bT53011784; Thu, 12 Oct 2023 06:40:50 GMT Received: from ca-dev112.us.oracle.com (ca-dev112.us.oracle.com [10.129.136.47]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3tjws9u9nd-1; Thu, 12 Oct 2023 06:40:50 +0000 From: Samasth Norway Ananda To: akpm@linux-foundation.org, shuah@kernel.org, usama.anjum@collabora.com Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, samasth.norway.ananda@oracle.com Subject: [PATCH 1/1] selftests/mm: include mman header to access MREMAP_DONTUNMAP identifier Date: Wed, 11 Oct 2023 23:40:48 -0700 Message-ID: <20231012064048.433346-1-samasth.norway.ananda@oracle.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-12_02,2023-10-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=970 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310120056 X-Proofpoint-ORIG-GUID: Ag4CSe5MK_kypB543P9QNUQUHXh3srhH X-Proofpoint-GUID: Ag4CSe5MK_kypB543P9QNUQUHXh3srhH X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 11 Oct 2023 23:41:11 -0700 (PDT) Definition for MREMAP_DONTUNMAP not present in the selftest for mremap_dontunmap thus throwing an undeclared error when running make on mm. Fixes: 0183d777c29a ("selftests: mm: remove duplicate unneeded defines") Reported-by: Linux Kernel Functional Testing Closes: https://lore.kernel.org/linux-mm/CA+G9fYvV-71XqpCr_jhdDfEtN701fBdG3q+=bafaZiGwUXy_aA@mail.gmail.com/ Signed-off-by: Samasth Norway Ananda --- tools/testing/selftests/mm/mremap_dontunmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/mm/mremap_dontunmap.c b/tools/testing/selftests/mm/mremap_dontunmap.c index ca2359835e75..a06e73ec8568 100644 --- a/tools/testing/selftests/mm/mremap_dontunmap.c +++ b/tools/testing/selftests/mm/mremap_dontunmap.c @@ -7,6 +7,7 @@ */ #define _GNU_SOURCE #include +#include #include #include #include -- 2.42.0