Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp2001191lfo; Sat, 28 May 2022 13:22:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyhzz2/5dgrErcUOCEv2BXsA4v8RFJ/L6zBUiBSnhwoNI8eP6SUNSXhnuXiwQIJ1VCuqS7 X-Received: by 2002:a17:903:2443:b0:163:63a6:82b0 with SMTP id l3-20020a170903244300b0016363a682b0mr17181698pls.105.1653769379630; Sat, 28 May 2022 13:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653769379; cv=none; d=google.com; s=arc-20160816; b=p56gRT0k4cLBuojbbKwJXrbVFS8/A2FukVweXe4fpI7mPX83xRZJ8jQb/T3iBoSge1 hFr5XG54n/+l/sv/ebJIDbw1uRq9l4dA0/pNCsE5y/Wbed45N9LFdiGrBNWVAiQAvi6Y hOSMjWW9OhLEtvrpPa++JkDSR1wwXjaBUT4HbZQMRZiW+GpZgavYf7QvxwwxqyorSi91 BXdoX7VZYNJB0lbX4kHXdgDU35EK1U1Mk0GI1xnT5l0G2DtaC1T+HyeA5mTdr5LaFwZ8 KifG1jEysl33KrDWFQ0ZohWkXYV/4AA3ss0UnnYw7usBVwIdKaGQj6yC+8meoSolnmUT eN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=JiJSTbLByeBUbNjihqq4ucy2aU+Ryl5bPLbQLP/9oss=; b=eezJk5Z+LYmuA7Qu1vUdV3qcExFHc0fgfAJ2cSHQqpdbHluNgufCpacnNKeYXHuKLm zpQiY/FHMr2b/wTvWO+pi9Q7EjVP4dzfwShK5SBee43iZF8d2a4yuo9H521kOKUlD7VB i1Y/9xTG1EWbDs3/tBgB6HulDPip8dyj6qy1ONB95ImuQ/a3nZx74ZZdHJVc3sZcsWnW eaeIt2gYEqFi+CJKtOh3w7fFJiUTBSxQ5MHbJjcULN7sCtl2GF4bdzWRafVTmy9YLGtU OypYS8uAiIsYc8PAtJH/OguuQQF9cVeGwPgioifKFCxXtJMO6SJlXgPtDMvChSHqqhHf xmaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ozb63YSS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b7-20020a655787000000b003c27c45c0b4si10965279pgr.443.2022.05.28.13.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:22:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ozb63YSS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DAD94164988; Sat, 28 May 2022 12:30:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237505AbiE0C4j (ORCPT + 99 others); Thu, 26 May 2022 22:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237034AbiE0C4i (ORCPT ); Thu, 26 May 2022 22:56:38 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A168E027 for ; Thu, 26 May 2022 19:56:37 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id q184so5788162ybg.11 for ; Thu, 26 May 2022 19:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=JiJSTbLByeBUbNjihqq4ucy2aU+Ryl5bPLbQLP/9oss=; b=Ozb63YSSQHn8iwOg65YeWkay62ruIsX1IEUZM8RRaeZYTflINNHYytQTiqfgbZ61mu 5mws/emmuO8H4TIhbNyq7HBsb0ZcExk9JtYfcWdaUKyjqpUt5zZ2H/eH7WPCvqznRTFU vn7z21rNg+0FKzGwGC9M0KcNwx40GaOIjq45cGhlequzhpnACcMJ/+Xb2XWymOXsJSjK FHBURfxDYZRZMuQY1HY768u1aNFpEir4fmRDiCOJ3PWbyieKxv2ohaA375ldJ5/MrzP+ WSKiAAV7xCfNim5mKz3ZAqarDnkz+HbFjS9MCp5Ne18S74uqYffqKc5zK4Fe93zkeNEC ayLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=JiJSTbLByeBUbNjihqq4ucy2aU+Ryl5bPLbQLP/9oss=; b=KEfOO05edHEPmdNra8AGnx3rvU7TagUfBZzP0ntHgj1PizChRYPoFltjDhLqQ5SeCJ mAcQVoaHUoi7C69WBRlYhpeA3g3mN5XaYXKRZuKcj2igyM9A1nb9z2nGb8iKeWrjqPe+ oDuaNoGOByAK0V9gKciZXI3v+qUWNaRw2rB3CRH9lTb3uwLMSazFQRCUqV5nG9UfOeeV ZuFS3j6vZ2jTRwK9Ki/jT+jXLiy95gSf4tGR/VtnIAr6Wtr8OtD4bK7ij+JMHW1mdFlK T2COpJBd/qCVzO7MCTDnyRy+yawp5magr+ha8wzn+qHxvdk0pS1qoDOkmyPU0hAJK+4m bpgA== X-Gm-Message-State: AOAM530PxWiDhkes7XmYx9jnKWjOImwXKmx2suO3fUElsx2Vyda9o7Ek zBFg3XJ4UJ2GRu0gI/7UY0cvvBHsXVx7elpxCMrYdPGy8L1Lkg== X-Received: by 2002:a25:814a:0:b0:64f:f06c:cf6d with SMTP id j10-20020a25814a000000b0064ff06ccf6dmr19551467ybm.88.1653620195396; Thu, 26 May 2022 19:56:35 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Fri, 27 May 2022 08:26:24 +0530 Message-ID: Subject: Re: mm: change huge_ptep_clear_flush() to return the original pte To: open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org, regressions@lists.linux.dev Cc: Stephen Rothwell , Andrew Morton , Baolin Wang , Matthew Wilcox , Linus Torvalds Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Following build failures noticed on arm64 on Linux mainline tree. Which was detected and discussed at this email thread. https://lore.kernel.org/all/20220512193855.4f6ce32f@canb.auug.org.au/T/ Reported-by: Linux Kernel Functional Testing Build errors: arch/arm64/mm/hugetlbpage.c: In function 'huge_ptep_clear_flush': arch/arm64/mm/hugetlbpage.c:515:16: error: implicit declaration of function 'get_clear_flush'; did you mean 'ptep_clear_flush'? [-Werror=implicit-function-declaration] 515 | return get_clear_flush(vma->vm_mm, addr, ptep, pgsize, ncontig); | ^~~~~~~~~~~~~~~ | ptep_clear_flush arch/arm64/mm/hugetlbpage.c:515:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 515 | return get_clear_flush(vma->vm_mm, addr, ptep, pgsize, ncontig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/mm/hugetlbpage.c:516:1: error: control reaches end of non-void function [-Werror=return-type] 516 | } | ^ cc1: some warnings being treated as errors metadata: git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline git_describe: v5.18-9901-g7f50d4dfe816 git_sha: 7f50d4dfe816dd916a7cbf39039674825c2b388b git_short_log: 7f50d4dfe816 (\Merge tag 'for-linus' of https://github.com/openrisc/linux\) target_arch: arm64 toolchain: gcc-11 -- Linaro LKFT https://lkft.linaro.org