Received: by 2002:ac2:5a04:0:0:0:0:0 with SMTP id q4csp155580lfn; Fri, 25 Feb 2022 02:52:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRa+Him7O3R8Tj6qrooPYhB1/4rc/DcsE0w6rVqtZ7eK4uPMe5cmDxTZS3KvpCnqOLMHnb X-Received: by 2002:a17:906:f41:b0:6d5:c6bc:fbc7 with SMTP id h1-20020a1709060f4100b006d5c6bcfbc7mr5485299ejj.541.1645786321370; Fri, 25 Feb 2022 02:52:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645786321; cv=none; d=google.com; s=arc-20160816; b=Q3cZ1GwDeqoqBoSGlMFD6L1REUrXGh4S6WG8X17nq4LFNuq7Ddm7z0s9ItwKeT/KnG AmZKltmm1PC6tVwF948XUdAsh+O7NgfwtYF+aftwzwsxFgcdUbPauTXhcEqmd4i4TKD6 8kk2CXAY79JG1JXgtFrBonpthx19wRi+3AR5Uo5m9A016nljmqiDnm+mQOOkDrqFJoPL TaMzGbmI9u+BM5Fxsht0/wEDkL/su3DfhB60azW1x1/w4ckDgcVMNIQPw7i3aNKZeccd ncacGyVvCd6yNc2kIt0Hu/x647PB04bklRdlEY8CDCwYGTBgdtRHW9SczxBuviCEKidl yBeg== 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=RkKJ3feumDpaH/4Q4R9EWvmv9jLE7v7OSMOwoBOQVW8=; b=HxV8WntUFZfvQuKIeYieix7nqnQRQzmPLuht6BLrLLSLr2sJurisrXT7YAMfm2LTyp 2WDzojyXtorMZXi0i7eQH6TVtINet7EsASFva7YSitme0sWx0rM66ZtNe/rg4YC3E8OD WGfnCHokHTgglN18adepuRaMqzjjeGiXXavKyp//DQrpfDUzHfST2F4rELBypzA+zaaa 8gG6aOqmAVRAkH9Pkjjy3J1GBUHYFnJiTLYmbML5p+ZaKI/bIH6Yl+F/ZaEDYb8nIt+c LugYj2e8bwh6vDJTn0EWYcUyqJBa9CJj1EI08GCHuG1uB7tStLB5sKCBCKA5BzCNRuRC Dwxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HWn4Ivjf; 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 jr6-20020a170906a98600b006cf654147f9si1386400ejb.96.2022.02.25.02.51.30; Fri, 25 Feb 2022 02:52:01 -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=HWn4Ivjf; 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 S235633AbiBYHKW (ORCPT + 99 others); Fri, 25 Feb 2022 02:10:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231335AbiBYHKV (ORCPT ); Fri, 25 Feb 2022 02:10:21 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36091E016C for ; Thu, 24 Feb 2022 23:09:49 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id v186so4161260ybg.1 for ; Thu, 24 Feb 2022 23:09:49 -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=RkKJ3feumDpaH/4Q4R9EWvmv9jLE7v7OSMOwoBOQVW8=; b=HWn4IvjfftzLpqogskfwiXRMAhH2YnmMfM5OsMY9RPUSUcpryyGeZSTHjOYBaHiIhl DVOSOUlkmc+GGeLQcCUCEg0bwaxihtZERTQVzs5XnzXFXVQtPTUIDk9zHM5vNiWqySP/ oCCjbOR3glTpDgw6Ab7PaILpFVVNUw4Z0UebaRQq7ZVMZmcXjHL8O/hAGCL94evRM/CE 1JnE2fM1rc/x9+lklrxU1xg20vX4oB7de6MI2UDp54zDrz/ZqQ1qP5CvbBTmPTSLBvA4 b7esENhujCgn/h//pWlg7FsoklcZbtwyv1b98q4BPSugWpd5aACAOCjFVOaDvk67eTwE 2iJQ== 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=RkKJ3feumDpaH/4Q4R9EWvmv9jLE7v7OSMOwoBOQVW8=; b=TrE1fSs3zLF2qM9QuBdVT+jyKTqLS0YmR/mxAOZaHGTLonnBjViJrC7tMYOfU++/nt upn11OkYT/Zp2vx1lr1oSw0ZSeSBIzYB6ZEjiJoCLDh78fk9hF+PCxZ45gp98vQpAU/C 89pNYazxWeo31cMe01GBrWx1J26EdxKSQWIy7pIUVfXRL0s5k24SMF53+TzUqr76rfZy 5lU/wvYcXyyNkFGUQaerynV9MHT5iE7JQnfIJs8QJ6yibaelZo2nUOhLUSRvrNgfB4IW E8edNs7tZNt/jqyWGkwB4JULjQn7mDNVKcgwyspqciV7Z3pofln6LJAETm1d9d4Z53j9 Eiaw== X-Gm-Message-State: AOAM533FiyvKKmYRtVnTrh4LVsDnYjH354O2ddzbP8Iy6DVeCL96cB63 s6Uy7LDsR9GjvbvadpIWvpudGLrqv+VuhybWgLDMkw85ZtZTyg== X-Received: by 2002:a25:2551:0:b0:623:a424:e2b5 with SMTP id l78-20020a252551000000b00623a424e2b5mr6277259ybl.603.1645772989000; Thu, 24 Feb 2022 23:09:49 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Fri, 25 Feb 2022 12:39:37 +0530 Message-ID: Subject: [next] mips-mt.c:233:19: error: conflicting types for 'mt_init' To: linux-mips@vger.kernel.org, open list , Linux-Next Mailing List Cc: Tiezhu Yang , Thomas Bogendoerfer , Kees Cook , Juxin Gao , Xuefeng Li , 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=ham 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 [Please ignore this email if it is already reported] Linux next-20220224 arch mips build errors / warnings noticed [1]. Build configs: - mips-gcc-8-malta_defconfig - mips-gcc-10-malta_defconfig - mips-gcc-8-defconfig - mips-gcc-10-defconfig metadata: git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: 44948bd49d878dad6c9707e34f4a06df73c3a800 git_short_log: 44948bd49d87 (\Add linux-next specific files for 20220224\) kconfig: defconfig target_arch: mips toolchain: gcc-10 Build errors / warnings: arch/mips/kernel/mips-mt.c:233:19: error: conflicting types for 'mt_init' 233 | static int __init mt_init(void) | ^~~~~~~ In file included from include/linux/mm_types.h:12, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from include/linux/radix-tree.h:12, from include/linux/idr.h:15, from include/linux/kernfs.h:12, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/energy_model.h:7, from include/linux/device.h:16, from arch/mips/kernel/mips-mt.c:7: include/linux/maple_tree.h:589:20: note: previous definition of 'mt_init' was here 589 | static inline void mt_init(struct maple_tree *mt) | ^~~~~~~ make[3]: *** [scripts/Makefile.build:288: arch/mips/kernel/mips-mt.o] Error 1 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 mips --toolchain gcc-10 --kconfig defconfig -- Linaro LKFT https://lkft.linaro.org [1] https://builds.tuxbuild.com/25aFF2X7uoyebURaYzNHW9FVEmN/