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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83FB3C56204 for ; Wed, 21 Oct 2020 05:05:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 39C0322200 for ; Wed, 21 Oct 2020 05:05:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QedtFi9a" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440325AbgJUFFZ (ORCPT ); Wed, 21 Oct 2020 01:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440324AbgJUFFY (ORCPT ); Wed, 21 Oct 2020 01:05:24 -0400 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD5E6C0613D6 for ; Tue, 20 Oct 2020 22:05:22 -0700 (PDT) Received: by mail-il1-x12b.google.com with SMTP id w17so1105674ilg.8 for ; Tue, 20 Oct 2020 22:05:22 -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=TSmk+CUeMC40ldFbF6oW/AydEBIYRcBxKh34Sk+KxDs=; b=QedtFi9aWDiAbYqLlkRKWBISzp9pjw66dacIyHmYrdqI1ae55ju9s2zVad3l1F8Nur MWajYO4jkVR0TkP10wsFhEXpiAVTRw3ClyVGwi7FWWa9mxDO1wnk70f4uEvHS8y+cCBv 1mFf35MKoZA7s+3LynsPrpzgGMdVSKHLhOPKA7mH4dd3vCJO2F/wyv3uZgc8dyBU5Hi4 FA9lO9essQOmSPeQF+R6K1+CSzwANZXk8Pyk43c+pTrMcFBnEfk+G0exsn3DSKTrLYGn ENCp9LgGE9vlmJwDibWgOX2zOZ6lRrW1JfGPOMurYwCFhJwnvnj67eggv7tDCKySgjv2 oh1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=TSmk+CUeMC40ldFbF6oW/AydEBIYRcBxKh34Sk+KxDs=; b=pl+pQiawi9bDQUJfs3xHUKF2wXrGFq1p9Cd+k68sLeFj0dUcK34jeSltO4A93ORBDG mSyNP9gWRbdJXYt0oBO2FuycT+KmvDOwfACcs/JD7SbewcfWOdv6CebcdSIE/Qz2PoIu f0+yvLoq6ig83o1UwKZ8s+49sdff+UgQb6TBeJRP30FGXStYktJCWZx7zPr4uUIYUu0V hajnG7xNV+L87F8QQqeSzIn8KPixg/sZcBFpTK9RSBxqoeyWpri2NKBeHhcQWu9BKItD B4D7ZPlu7Pg7rJVWjlBA53vREAFgA8yR0yIQPjG+nJlH+BQFwc/Gvp82fRCxqIEDapqU 5TIg== X-Gm-Message-State: AOAM532NgotZ2wNpnKlsxCiR5ii7HvZn7sauhtZ2VQkw0Ah4/MqKTq1l A26usm8MMbcywfQIZ/FiMDg/AZetGPYejD2Bt1Q7Tg== X-Google-Smtp-Source: ABdhPJxWmTg/ZXvwBDJQrQngv3o5Cpm6ToHK3iIIuewaT+aH77PrCkDjPLt+URUPEkJVDp00VkHoPeBiDWghGun4O+g= X-Received: by 2002:a92:9944:: with SMTP id p65mr1037022ili.127.1603256721681; Tue, 20 Oct 2020 22:05:21 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 21 Oct 2020 10:35:10 +0530 Message-ID: Subject: arm64 build broken on linux next 20201021 - include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds To: Stephen Rothwell , Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, Netdev , bpf , Linux ARM , linux-arch@vger.kernel.org Cc: Arnd Bergmann , Christian Brauner , Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org arm64 build broken while building linux next 20201021 tag. include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds #define __NR_watch_mount 441 ^ Reported-by: Naresh Kamboju build error log on arm64: -------------------------------- include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds #define __NR_watch_mount 441 ^ arch/arm64/kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:863:11: note: in expansion of macro '__NR_watch_mount' __SYSCALL(__NR_watch_mount, sys_watch_mount) ^~~~~~~~~~~~~~~~ include/uapi/asm-generic/unistd.h:862:26: note: (near initialization for 'sys_call_table') #define __NR_watch_mount 441 ^ arch/arm64/kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:863:11: note: in expansion of macro '__NR_watch_mount' __SYSCALL(__NR_watch_mount, sys_watch_mount) ^~~~~~~~~~~~~~~~ arch/arm64/kernel/sys.c:56:35: warning: excess elements in array initializer #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ include/uapi/asm-generic/unistd.h:863:1: note: in expansion of macro '__SYSCALL' __SYSCALL(__NR_watch_mount, sys_watch_mount) ^~~~~~~~~ arch/arm64/kernel/sys.c:56:35: note: (near initialization for 'sys_call_table') #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ include/uapi/asm-generic/unistd.h:863:1: note: in expansion of macro '__SYSCALL' __SYSCALL(__NR_watch_mount, sys_watch_mount) ^~~~~~~~~ scripts/Makefile.build:283: recipe for target 'arch/arm64/kernel/sys.o' failed | make[3]: *** [arch/arm64/kernel/sys.o] Error 1 scripts/Makefile.build:500: recipe for target 'arch/arm64/kernel' failed | make[2]: *** [arch/arm64/kernel] Error 2 full test log, https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=hikey,label=docker-lkft/882/consoleText -- Linaro LKFT https://lkft.linaro.org