From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8634A1860 for ; Thu, 27 Oct 2022 07:29:14 +0000 (UTC) Received: by mail-ej1-f41.google.com with SMTP id fy4so2075265ejc.5 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=c6wttNo3g10G508mZm6Qf0T8AqGIjmBvu+An6PDauXiSXnEBpY43bMOH5Dv1RAFZoN myQGRYR3i5RZlZSD3KmgWKxSUEA5oGGlnhjuHzmkfMATSrFaqDKF8z3oKLV+623daQ8S GiqSEwt/2x0ZkWXZ/JmvqsTCytAQHvQtPS0r8pEx8tjxVkR+Tt9xKjKVpiox74HGz53m nWOAT0J9YvO6ojntoVmgYacp4aUNIVZQYE32l16GRQHFYAwgJRQuVYzfGwm9Ibpjw0Pf TroS+I+9SYyegNibzoMzJ8gkRD4VMgwd6t8qHtyvYiktws4tHP+cVgBADg0u8tZDKrfM qCdw== X-Gm-Message-State: ACrzQf1C8jczIQSPcuxdP1VMoegXPrdL34jTF1yHms4V+r5xgaZ9KLkC 3RgP9joTCvMuyf1otkWR3CcVCEjQBXe5DP+usL0P8A== X-Google-Smtp-Source: AMsMyM5A2BEhkdmq2nGU2SIWLPg4S8heJB3zJgGmGv5I9btjdfBbrjxhoSVscSznC9ae4o6mLklyPbeRVgIdZx+xOM0= 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) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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" 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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55923C67871 for ; Thu, 27 Oct 2022 07:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=O3kibjU1LaloxggxeHiPeUNNFQgLMCAEAidrI80uSHo=; b=XFDknNHUH2KpiK DZ3rljtI8/M6+ZQ2bnnbYnVT9Gl0mX6f9DGVpLGlTOp9FhMcjps7C4UDGb+nyQ8hi4UUnIJ20/L0V 5RzxO6U1EYHYTvu56AtirrudZCIBd9iePwWbV4dVTerRmlFj8mFJ7cnb520NwPcDJPyGvUbtaRjqY IguYxNukUlFpXLOPjrcal2dSAOJnwQ41ggmMsnuvkq/ArXmFX06o30U8J+zlL7l1wQvgB4S1dRKp9 LpUKk0BirDK29Gu7pWTuN8RaISe7YS5fEB0qHmD3geTl08nFeYYFNvE4f8Yx65X2Ga3CcwbAnrh3h EFPLYYmxbL5u78C45SGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onxKL-00CAba-7F; Thu, 27 Oct 2022 07:29:21 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onxKH-00CAZs-0V for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2022 07:29:18 +0000 Received: by mail-ej1-x62a.google.com with SMTP id b2so2078378eja.6 for ; Thu, 27 Oct 2022 00:29:13 -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=z8LcAJnFTdtCU7qAYKNYdbkxHd/x26Wd/HdWERkDWAhG2LfL217D2ZgkoVIq4wknYT aN+8OZyk+eU3JCxDmBN13i203JGKddacKVRGh0W7bzS4t1pLKB0AylhONWg20B9P5T7p nIAJ6tmjQSxBtfIh8J1dSY/A8+0nVW8+SFP30r9TafvNVStW8QDhHsGkmsn3rIqpjKcc jbiKonXbLOKBcZmrOE1fqEW2P1XFhyRF3X9Uh7CnZPN4RF2FYKkPqWy2FkxPrftF4iq2 VvnaOPNwWcWs52Dhh+D/x318cYAG/FsII+N7zYkCVfRyuYpyV9yFem9bys1ess+AOY9j XYyg== X-Gm-Message-State: ACrzQf3OHZBO82a+9thW60Riw4ubAlDUr5YrY8hDM/ccQBqTWvxVrrdb fzBl6CF1VxhzqhBcedJ/c8953PPDtdWhLg1H3SQqyQ== X-Google-Smtp-Source: AMsMyM5A2BEhkdmq2nGU2SIWLPg4S8heJB3zJgGmGv5I9btjdfBbrjxhoSVscSznC9ae4o6mLklyPbeRVgIdZx+xOM0= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_002917_148342_AFF862DE X-CRM114-Status: UNSURE ( 6.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel