X-Received: by 2002:a17:90b:a4b:b0:1bc:b02c:37c5 with SMTP id gw11-20020a17090b0a4b00b001bcb02c37c5mr6380853pjb.145.1645715919250; Thu, 24 Feb 2022 07:18:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645715919; cv=none; d=google.com; s=arc-20160816; b=UsDczYE3ZiZbmC1lf9TaSiaYvm8qnzR8+6v0d8oQrGBxo3Z+Ia/ZFqud5hYrT6/9QN HEcw8yn0CHMd7vJ5rluiBXD4TDi/+1BKO27xF1Jrb4qCeo46WQB1SUZj6W8pCZVxOHFF P+EztWRiZctDeJATc/+4WsekEHLApFGp2KInYE5wBofMIW2+WHAbPZZQf2rbyWclAygh VPbY2syCpTD3kLK2yXCdJsv0jH3T2bmK5QhRyyTrU+C40l5MXRjt6mR4mdByjguEPzhB v8DvjVj2CLlUXVpywosoxwecIf+glnSoZp+GXCBVbvcDfSl1WSy3Gk6dc0WSJMBjppwT +Q4g== 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=Uu/up663McmtHwyoDsIfscJIaOT5C+2Ofku1sz+3c7s=; b=RDXomo1OFWL99BNGzi19KEp2P6CW1lc0lm9EDQlWk8vCXKF1sxO+mRvHB+EIvFsyhn AzjoEqwT5P8l6/A+Kim5Lu2rBwWbkiY4Tc4dIDmbPbdRfzLlezVBlMdzry47KiZScP8U est54DJGMMv8/bxqNRhpMEG4BXvx6rEQl76K15gMsII/oWlQvdRsFooOOUZO0ag4uRDI ahHi3fL4teT2IC+FsWbYugVSWWahXEO4IMoCp6aCrSxsKk0Ez6pOVlZPou3z4/ruUfrO EwCzatN5tSu+pZuzK67UiJFPOJdAI2Exs5mHFKht6CSqSZbGhwec5LI5j8uk1Kd9nonV wszA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yeaQV/RM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6si2773865plg.609.2022.02.24.07.18.18; Thu, 24 Feb 2022 07:18:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yeaQV/RM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235307AbiBXODY (ORCPT + 99 others); Thu, 24 Feb 2022 09:03:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235278AbiBXODW (ORCPT ); Thu, 24 Feb 2022 09:03:22 -0500 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 C2ACF20D838 for ; Thu, 24 Feb 2022 06:02:51 -0800 (PST) Received: by mail-yb1-xb2c.google.com with SMTP id g6so3956592ybe.12 for ; Thu, 24 Feb 2022 06:02:51 -0800 (PST) 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=Uu/up663McmtHwyoDsIfscJIaOT5C+2Ofku1sz+3c7s=; b=yeaQV/RM7+yh7dyByba3Uw81wfq81mO7nu0TI1EIsiKw1na9UNQ5yiAkFLa2frERQW jbhkruRz/0mKJTe4q2i8KivPZXfjhxkX4YMGUA8Jr8JiIeKw6v35R/vg+Q1Y2UudXLzz I+g+XXszoc6acZz3QeX7+XNT1bSS9Xa9kq60oI6VJkldWS/UKfW+Syv4j/9Wrkmm0GhO ttr1kb9ueMYL3JgGOxfwlMpFer8Yjd3sKt+RZbI7Tm3ZHlNHoGmQQOGnc7I5NopQ/bzK zXxhfLMn4iaPtk5PyAJjnoskqnC4L4luHO+6tmPhjsArHuUbxYadXmvnii8WXt35NKWr /VMg== 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=Uu/up663McmtHwyoDsIfscJIaOT5C+2Ofku1sz+3c7s=; b=bx9vpk13kkFGtGsEgX5qWiG+c1DzhmLcLF+om69nzs83GsN6kM2TECe1WdBQzBwFJ8 BVGVUAWMWqD39hlu0oBHiOllbVxeJBho/udZKkpb8a62dvANXsOxIfHV/bVi5dABTnOy cCIZDvWpz/gzwCUznKzf8/ucJ3P7A46t79loLiv7YoIAkUfzYkYdUvLIGAgnInOieg1i D3v8wlarEZPd+K2TO0P0FZx2ejnETVhgr2jeFZtZ/ZhT3GMlJLpOKz4gaLWEw3seix5o HqCrM6SPEY5TWOFwyZSXd7rVWtHJzbNOJs5FDaNSfuskQiUwiC6rqqXXA98Ql65ehCYk D5iA== X-Gm-Message-State: AOAM532u5sBjMqn8gD6xvhoBdtNYbnzOTh1Z/TSTBlxqkRcqQPY/H3a0 Jwg5YkIZgyuoR0fzPzYJAJr8nGdJhAmbAUhppHHbIg== X-Received: by 2002:a25:2551:0:b0:623:a424:e2b5 with SMTP id l78-20020a252551000000b00623a424e2b5mr2624980ybl.603.1645711368889; Thu, 24 Feb 2022 06:02:48 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 24 Feb 2022 19:32:38 +0530 Message-ID: Subject: [next] mm/mmap.c:1962:25: error: passing argument 1 of 'vma_find' from incompatible pointer type To: linux-mm , open list , linux-parisc , Linux-Next Mailing List Cc: "Liam R. Howlett" , Andrew Morton , Vlastimil Babka , "James E.J. Bottomley" , Helge Deller , Stephen Rothwell , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Linux next-20220223 arch parisc builds failed due to following errors. Build configs: - gcc-11-defconfig - gcc-11-allnoconfig - gcc-11-tinyconfig metadata: git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: d4a0ae62a277377de396850ed4b709b6bd9b7326 git_describe: next-20220223 arch: parisc toolchain: gcc-11 Build error: ----------- mm/mmap.c: In function 'expand_upwards': mm/mmap.c:1962:25: error: passing argument 1 of 'vma_find' from incompatible pointer type [-Werror=incompatible-pointer-types] 1962 | next = vma_find(mm, vma->vm_end); | ^~ | | | struct mm_struct * In file included from arch/parisc/include/asm/cacheflush.h:5, from include/linux/cacheflush.h:5, from include/linux/highmem.h:8, from include/linux/bvec.h:10, from include/linux/blk_types.h:10, from include/linux/writeback.h:13, from include/linux/backing-dev.h:16, from mm/mmap.c:14: include/linux/mm.h:661:54: note: expected 'struct vma_iterator *' but argument is of type 'struct mm_struct *' 661 | struct vm_area_struct *vma_find(struct vma_iterator *vmi, unsigned long max) | ~~~~~~~~~~~~~~~~~~~~~^~~ cc1: some warnings being treated as errors Reported-by: Linux Kernel Functional Testing Steps to reproduce: ------------------ # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch parisc --toolchain gcc-11 --kconfig allnoconfig -- Linaro LKFT https://lkft.linaro.org [1] https://builds.tuxbuild.com/25XO7KdJCJcum36gCorICgGU8C5/