Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp277076rwi; Thu, 27 Oct 2022 00:42:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM64lReBj6reUy+It+199mXNTShcqpemTxrKE0raWv/woF23J/VnioALKQGsmIRTANDMnyJy X-Received: by 2002:a17:90b:1d11:b0:20d:4c69:6886 with SMTP id on17-20020a17090b1d1100b0020d4c696886mr8637127pjb.14.1666856537916; Thu, 27 Oct 2022 00:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666856537; cv=none; d=google.com; s=arc-20160816; b=1J2hiHLjLnnAsu1As9G2SjUmHl00PsQeCy9Yiyxe33UKyr5fNn1tn2ETErsOllhRHb rsqp0R04GYSpHtdcw593kWmdlJLQlvwWqMAtFn1Zh7dkZ9c9G3Ye/mw1/tfVEWK5V1OW t5f7lG2rBwwI4UHKEMGu1GkSjaAo1ddH0n3x9E5Iiwa+vj3mqit/44Ix0VbXbrgnXzFB Qml3V+NuxdEJb6H32qQH+MlACTS6d8OODldcT3ycn/ZEFbfoZTIGnLmG71it2vFQwVgR /afCSO5rksvmhzbleeHUe/LpMCoAflRUSubDSuG8IqWswAlM07aZapTIepSweM7X76fJ OxUg== 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=HDqlrmcOi6ROmlFz0qtu3ygn7DfpcbBtZ6O9GxQZG1Q=; b=bbnar0DyJxl+5i2XmqTFANa/g0KsQlP9kSAcdnj2sbjRYRgP1gioX37uVkTro53BKx mSYWuCh5Yx4X931i5B1unOKVKWFLKpm+/Nw15GGZWfRoP3cfpuVTndmVvv9Teg/+F3+G oUhvTTJSvGNoFIKN6qxa/JDH/5O54VtUwGTQEKhaRhx5CilXIdzY4w+6fCFDrTuNQY3d rDTvZAxfYetqUn2ICDMNNhd+vg1QkaoTz92L0kspN3Wm752HSxb6U9jzyrfpsdTMll7X oOAyM1zlXOpjt+LxmpIkEDPCsoUN/ATWYPvdZQOclYOkos8vHLMpEhY+52yfnBKuH6d8 MQfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrmU1An1; 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 np11-20020a17090b4c4b00b002136a8424f3si2458410pjb.184.2022.10.27.00.42.06; Thu, 27 Oct 2022 00:42:17 -0700 (PDT) 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=rrmU1An1; 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 S234656AbiJ0H3R (ORCPT + 99 others); Thu, 27 Oct 2022 03:29:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233669AbiJ0H3P (ORCPT ); Thu, 27 Oct 2022 03:29:15 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FFD1AA341 for ; Thu, 27 Oct 2022 00:29:14 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id 13so2095700ejn.3 for ; Thu, 27 Oct 2022 00:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=HDqlrmcOi6ROmlFz0qtu3ygn7DfpcbBtZ6O9GxQZG1Q=; b=rrmU1An1rGASw6GEQxKdwjv2fRO2As/jMf50+8IJhNExD+UK21luDqNgQBxBLkK22d Lmulr3So4uCEtH8wSx/eyz54kQppCd77vqU+KMzwF6yn4lRyui4hE4qIiSPSsF0xm87M sY2QpEZ3d5Y6aSbXGmY4vjV6YtcEA4jA1hqolz1hPV0du4LDfEKMV5q+mCh8fTcDjyrg IISTjwLFM7JeFBvpra6PcWVIAumLUIvs68uPGfaeRlAP1T5+LZUXuhVwa/HxM2Cv7bNm TWwNyaiPDHW9pbx0LT/6IzB67W7/LC2nnL09F2lZ9t5c9Bx4BHLUpSpUV3u68SIPObrY OKSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HDqlrmcOi6ROmlFz0qtu3ygn7DfpcbBtZ6O9GxQZG1Q=; b=rpDIvKePNCpFugawLzvDKSL3eiJ/QBqWdw5MDrrRjV9MytVsqp6DL+0Q79B7F074j5 qp5srOUtualqEPKHouLVq4uz6WVJRNzggY7z4gAcrlz6PBLX2Y0yKy6jnaRn8iUVCBo4 hu/Bi8vDe6L9m1LY3/eqmJC8La99E/em2sHDlOsnTZ9IhMHGewsXCHKEJJOJw+EwfHrn wgT3B3k+Kpwm6vaDW7DFrqtWglLnYIuq4sUVcTYtMyg84LUPq97Uae1ABD+R0HlG/aqU 3+5m93bu1/tlMxPzqRYfLzDKuGP2P7dM1/7idI/atYqfIMMtYh/vacDKtBmNWU6FlAs8 35kw== X-Gm-Message-State: ACrzQf1Q1HZTzAlCp1OB80ODvwtLv3QESfKVHdic2OJdBd1O1TuuZCMT 1hteJIE5fwfshqcFCCr0AO3ansh9j9xa7bnrd1ncUg== X-Received: by 2002:a17:907:6e1b:b0:78e:15a3:5be6 with SMTP id sd27-20020a1709076e1b00b0078e15a35be6mr41422255ejc.750.1666855752547; Thu, 27 Oct 2022 00:29:12 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 27 Oct 2022 12:59:01 +0530 Message-ID: Subject: s3c6400_defconfig: arch/arm/mach-s3c/mach-crag6410.c:183:12: error: use of undeclared identifier 'KEY_VOLUMEUP' To: patches@opensource.cirrus.com, Linux ARM , Linux Samsung SOC , open list , llvm@lists.linux.dev Cc: Krzysztof Kozlowski , Russell King , Alim Akhtar , Nathan Chancellor 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 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 Following build warnings / errors noticed while building arm s3c6400_defconfig with clang tool chain. Reported-by: Linux Kernel Functional Testing make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache clang' arch/arm/mach-s3c/s3c64xx.c:430:9: warning: The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc@vger.kernel.org if you still use it.Without such feedback, the platform will be removed after 2024. [-W#pragma-messages] #pragma message "The platform is deprecated and scheduled for removal. " \ ^ 1 warning generated. arch/arm/mach-s3c/mach-crag6410.c:183:12: error: use of undeclared identifier 'KEY_VOLUMEUP' KEY(0, 0, KEY_VOLUMEUP), ^ arch/arm/mach-s3c/mach-crag6410.c:184:12: error: use of undeclared identifier 'KEY_HOME' KEY(0, 1, KEY_HOME), ^ arch/arm/mach-s3c/mach-crag6410.c:185:12: error: use of undeclared identifier 'KEY_VOLUMEDOWN' KEY(0, 2, KEY_VOLUMEDOWN), ^ arch/arm/mach-s3c/mach-crag6410.c:186:12: error: use of undeclared identifier 'KEY_HELP' KEY(0, 3, KEY_HELP), ^ arch/arm/mach-s3c/mach-crag6410.c:187:12: error: use of undeclared identifier 'KEY_MENU' KEY(0, 4, KEY_MENU), ^ arch/arm/mach-s3c/mach-crag6410.c:188:12: error: use of undeclared identifier 'KEY_MEDIA' KEY(0, 5, KEY_MEDIA), ^ arch/arm/mach-s3c/mach-crag6410.c:190:12: error: use of undeclared identifier 'KEY_DOWN'; did you mean 'SM_DOWN'? KEY(1, 1, KEY_DOWN), ^~~~~~~~ SM_DOWN include/linux/input/matrix_keypad.h:15:8: note: expanded from macro 'KEY' ((val) & 0xffff)) ^ include/linux/console.h:29:2: note: 'SM_DOWN' declared here SM_DOWN, ^ arch/arm/mach-s3c/mach-crag6410.c:191:12: error: use of undeclared identifier 'KEY_LEFT' KEY(1, 2, KEY_LEFT), ^ arch/arm/mach-s3c/mach-crag6410.c:192:12: error: use of undeclared identifier 'KEY_UP' KEY(1, 3, KEY_UP), ^ arch/arm/mach-s3c/mach-crag6410.c:193:12: error: use of undeclared identifier 'KEY_RIGHT' KEY(1, 4, KEY_RIGHT), ^ arch/arm/mach-s3c/mach-crag6410.c:194:12: error: use of undeclared identifier 'KEY_CAMERA' KEY(1, 5, KEY_CAMERA), ^ arch/arm/mach-s3c/mach-crag6410.c:199:17: error: invalid application of 'sizeof' to an incomplete type 'uint32_t[]' (aka 'unsigned int[]') .keymap_size = ARRAY_SIZE(crag6410_keymap), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:55:32: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^~~~~ arch/arm/mach-s3c/mach-crag6410.c:210:11: error: use of undeclared identifier 'KEY_SUSPEND' .code = KEY_SUSPEND, ^ arch/arm/mach-s3c/mach-crag6410.c:212:11: error: use of undeclared identifier 'EV_KEY' .type = EV_KEY, ^ arch/arm/mach-s3c/mach-crag6410.c:217:11: error: use of undeclared identifier 'SW_FRONT_PROXIMITY' .code = SW_FRONT_PROXIMITY, ^ arch/arm/mach-s3c/mach-crag6410.c:219:11: error: use of undeclared identifier 'EV_SW' .type = EV_SW, ^ arch/arm/mach-s3c/mach-crag6410.c:225:14: error: invalid application of 'sizeof' to an incomplete type 'struct gpio_keys_button[]' .nbuttons = ARRAY_SIZE(crag6410_gpio_keys), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:55:32: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^~~~~ 17 errors generated. make[3]: *** [scripts/Makefile.build:250: arch/arm/mach-s3c/mach-crag6410.o] Error 1 Build compare results https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221027/testrun/12686125/suite/build/test/gcc-8-s3c6400_defconfig/history/ Build log: https://builds.tuxbuild.com/2GhZbWVKwBdCV4AryWkU6kAZ37i/ -- Linaro LKFT https://lkft.linaro.org