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 E01DFC433FE for ; Wed, 5 Jan 2022 14:31:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 14AE96B0071; Wed, 5 Jan 2022 09:31:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 105836B0073; Wed, 5 Jan 2022 09:31:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EDBF06B0074; Wed, 5 Jan 2022 09:31:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0115.hostedemail.com [216.40.44.115]) by kanga.kvack.org (Postfix) with ESMTP id DB4866B0071 for ; Wed, 5 Jan 2022 09:31:33 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 790F08249980 for ; Wed, 5 Jan 2022 14:31:33 +0000 (UTC) X-FDA: 78996471666.18.A7DDE59 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by imf04.hostedemail.com (Postfix) with ESMTP id 00A3B4000C for ; Wed, 5 Jan 2022 14:31:32 +0000 (UTC) Received: by mail-yb1-f178.google.com with SMTP id k69so102799203ybf.1 for ; Wed, 05 Jan 2022 06:31:32 -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=i1Kmf+mXxxTK6snzYoyWCYOKV5LIiwkd3kVy/Y4pyHQ=; b=TkyQHv/nNalaVUulsra53ogj0b5rCHHppcPEeqpR4cJ7vEtmHXnV2I7czU+Qfd91vj Im6UEwGk0A+D07xhVJoWyVkuePZTqxDC8iqA/RbeCmL86ENQbsDnQNPwpdhUstiNymMQ 9Wlx/Oqkhsq3UmM29NoweWwQ1y8y1bZSWW8EmiWjH4dsnGkDobgq54vIp/GOVkmrQ0BX Gmpdls+PYR0qUdEidM+U1/vlLSE+umg8uVmQtLC1NA1t/Ms5kLC9Kt+NIrJPCxELjSqW gJLMhUYx2filVidjEJrKbPa1QAWmYsz02kw5LF8UJKXA8dMFlVL1py8P90l2hp9mkUSQ LBdg== 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=i1Kmf+mXxxTK6snzYoyWCYOKV5LIiwkd3kVy/Y4pyHQ=; b=mtXvzENKsAAZu1jX+SBtAlBnqE0Pp2b63SYiMN7NCJlI2CbLRcIUFdE4et7IHKZszz jDJjNbp/1YHfHanl6MriVGTf7L6lwVoE7Ww8Nx7gXPEHmzRdZWELq+ZQg6CKdcejScAd wC2fNJGy913PDzKH3AgZY9rcoqW03+MBYB38mfE7zV1IArNguSGcid5sJ7JR9w+kL4Gd bsMYGI5hy5hTP+aBLFjYyKJ7rGT1d+3IxfZqtuXOqMcouA4dtIqzFw8aiFwYZDFntxPQ gj57Ok28GDQMDHO7J7aP9v9DtJVTkMlB+8hKykgnvlvtbK35mIiqOXn25j541c4wRXLM sTnw== X-Gm-Message-State: AOAM533wIz6zwoxxiuJIIrmSXOtSe5Aor9+JEaW2DcUCiWrSt3biQiYv k0nR9n4NKn5wncOqgllWbOFC6gFRXhb6M1GGlPx22sYNX+3xRQ== X-Google-Smtp-Source: ABdhPJx2y/wzL/OC+vP+3XmZtcVQhvBhCcFVUuoP+n9UVOq8afnPcz6TPe2geBvCjT0S0qFZyVO/sjIx1NMtwUQBZe4= X-Received: by 2002:a25:ae85:: with SMTP id b5mr55614484ybj.200.1641393090685; Wed, 05 Jan 2022 06:31:30 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 5 Jan 2022 20:01:19 +0530 Message-ID: Subject: [next] mm/shmem.c:3993:5: error: conflicting types for 'shmem_unuse'; have 'int(unsigned int, long unsigned int *)' To: linux-mm , open list , Linux-Next Mailing List Cc: Hugh Dickins , Andrew Morton , Stephen Rothwell , Christoph Hellwig , Juergen Gross , Dan Streetman , Geert Uytterhoeven , Konrad Rzeszutek Wilk , Matthew Wilcox , Seth Jennings , Vitaly Wool , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b="TkyQHv/n"; dmarc=pass (policy=none) header.from=linaro.org; spf=pass (imf04.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.219.178 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 00A3B4000C X-Stat-Signature: sochohkugph83xydne6bi3oqxcweasdq X-HE-Tag: 1641393092-245451 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: [Please ignore this email if it already reported] A large number of build failures noticed on Linux next for all arch's with - tinyconfig - allnoconfig Build Error: ------------- mm/shmem.c:3993:5: error: conflicting types for 'shmem_unuse'; have 'int(unsigned int, long unsigned int *)' 3993 | int shmem_unuse(unsigned int type, unsigned long *fs_pages_to_unuse) | ^~~~~~~~~~~ In file included from include/linux/khugepaged.h:6, from mm/shmem.c:37: include/linux/shmem_fs.h:86:5: note: previous declaration of 'shmem_unuse' with type 'int(unsigned int)' 86 | int shmem_unuse(unsigned int type); | ^~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:289: mm/shmem.o] Error 1 Reported-by: Linux Kernel Functional Testing Build link: https://builds.tuxbuild.com/23GvPWRYOYokAPaEnhSYeOKuKCk/ Kconfig: https://builds.tuxbuild.com/23GvPWRYOYokAPaEnhSYeOKuKCk/config Steps to reproduce: # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-11 --kconfig tinyconfig -- Linaro LKFT https://lkft.linaro.org