Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5125050pxu; Wed, 21 Oct 2020 14:15:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwokX8M1dbAyknrMgWTodo8HDl9UuoohF8t5IIN/ZW4P75qgr+xS1G4CrKjRlJ7T3TNVd0d X-Received: by 2002:aa7:d394:: with SMTP id x20mr4982311edq.14.1603314943124; Wed, 21 Oct 2020 14:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603314943; cv=none; d=google.com; s=arc-20160816; b=k7DUwVG+M/NSqsmKt045AKaxju+5ucK81RKjrLwj18HzT1QatWMcNHAJo/m1/+ZQG1 lpcCfy90KqPzBg3o8Eox9JzkW0udQtdEOSeVFsKW+G+ACbku88vxWMy009nsnwVdrtDB zbtqY7YMHMOtAcGLq8/SkdQTc0+jgcO+FqXXCJQrPkV7nwh95iAd4a091Sbh2nVbeEPg 3lr4yp7pQb1k7sL/6u1tbsxMSSL8WZeZX+dwcvNvT7dK5vjMLa2mPgYv4AVj0xtnlbJs P8e6x1wh2C0627MLn3ntV+SnPMY+2jjEcSfNETpdN17IQaUuE2ZkRCl2w9qVzElaTLx4 fMWg== 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=TSmk+CUeMC40ldFbF6oW/AydEBIYRcBxKh34Sk+KxDs=; b=nCEpMiqCzPLEode2txnvIFhQ/1cYC6T9mLarf6bDQLiSUTu2+4kxZIUdq5rLRRJdKQ d9nJJfV9Aamf95yG5/FxSWtM+6HU4b75NBJYIb3GQQ2u1FqfWhNpSVQcOlFb/n+dvbFD zpuVB6dzlGky+MWXKczAKUr90X2ubXXVdl9jOTpaBYrn2A9hbeTXM2B+TJuMzxcbGeBV 6j5s4XToYko/wHSsbVhw/LBVBWrA1AIS5hRQ1+4leRREXZ+3Xtk/GvUbwJsOo2WUEbcP hVVklkvYev5RsZC5FSm2qLFRR0VEWiIN26y/T8yU/aLMF0fFpUdnAj3TaEzb8IW9WycQ 9HHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QedtFi9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si2165765edt.471.2020.10.21.14.15.04; Wed, 21 Oct 2020 14:15:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QedtFi9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2440318AbgJUFFX (ORCPT + 99 others); Wed, 21 Oct 2020 01:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440310AbgJUFFX (ORCPT ); Wed, 21 Oct 2020 01:05:23 -0400 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA069C0613D4 for ; Tue, 20 Oct 2020 22:05:22 -0700 (PDT) Received: by mail-il1-x12d.google.com with SMTP id a20so340728ilk.13 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=L2O5vuF6PBrfjUYiZYTKcpTPeT6WfWJ+KE3dJ9E7QImRSol8fZoLc2kgZSTW+lcsj9 glxuCkbB4yJjzkQg2v6WoQYGAvIQVqlZCASCSgYV+xes49ru3bAbCzU/UqIXyV9RGTI+ EwcIj/kzDQZHG/NzuX7DCgD0ZNaNLWj8MY8mZcoAlEnuHVzZkSKvSvrT1O9KCb0/8G5c xeR2yeC99Em/y5E/84be1UpDPMBvg6yZi/jUyoYTELPDkG40aAVP0YsAPhLvt9h3a42H LVgW/HBzI28ybqaxxo4sbH2AIRbpPDc+q6gQkzsnRGY3QsiHkCiGau0K+Y9mZbZU47TV xlrw== X-Gm-Message-State: AOAM533kIu+uHFGK+GfOUoU3Zc9mmHspi0LhobbLAPhFQwCpVL1WvCCV ENF4RIXctRnwLM9GqIr8ej02eiLTrDkGoCw0dPydSA== 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-kernel@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