From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AFABC433F5 for ; Thu, 24 Feb 2022 14:02:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1D4288D0002; Thu, 24 Feb 2022 09:02:54 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 15C678D0001; Thu, 24 Feb 2022 09:02:54 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0002C8D0002; Thu, 24 Feb 2022 09:02:53 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id DE8F28D0001 for ; Thu, 24 Feb 2022 09:02:53 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 8A8FA81575 for ; Thu, 24 Feb 2022 14:02:53 +0000 (UTC) X-FDA: 79177839426.07.418BD3A Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by imf31.hostedemail.com (Postfix) with ESMTP id 71D5B20010 for ; Thu, 24 Feb 2022 14:02:52 +0000 (UTC) Received: by mail-yb1-f171.google.com with SMTP id bt13so4035158ybb.2 for ; Thu, 24 Feb 2022 06:02:52 -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=W5xn8RKcEAikHK87NU68WQHZnsnG3oGeT1NHksARJaEj74CQgpWiY90PHaH44AXBWi n7s3siMmsbqciQciVDdXeWxJ3oQqp8t3VUkEIN+uISSx8V0I/+nGTNem65NbJ5v7kwy4 tDynKqrlxesYHWkCOXNU88b3QLANH1eRCtpMms5lGn9dJqexffcA/6iXah3pW0VhQtOK PmjxWvBrgNVEj6KVDVrcV1JEHx8qKIEEgIM0OeptWHrIIPNpbQYjWIguhWOCHhxExoK1 ZXiepnfA2I/kIPVht6FsRTBVKaSnuwIj+6oiMyD/1LVgieCjYaDhStrmFsRYuuEbTQJz txUQ== X-Gm-Message-State: AOAM533NE9Q0o6kEJdLnC1jXRWQ+vxAJFsxyjrGYrderukKhdy4rqMb5 kyrh+XoKCgZ4up8lO5E64AX15UPP6lTwTwEIC8fReteOCpiOYQ== X-Google-Smtp-Source: ABdhPJyFgcSPtZ+7eIpJu47YYVNdcJlDOjQ2o+dB7cqBHv4UdHQ6MtQQsUac7jeboUaZhHeeixU4ZJErYZVWYCtypuQ= 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-Rspam-User: Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b="yeaQV/RM"; spf=pass (imf31.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.219.171 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 71D5B20010 X-Stat-Signature: wbxmn747kjb6d5aqo7gaer541j1teqej X-HE-Tag: 1645711372-241110 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: 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/