From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gnuweeb.org (Postfix) with ESMTPS id F3BE080866 for ; Sun, 18 Sep 2022 01:50:15 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EmUmKJHk; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663465815; x=1695001815; h=date:from:to:cc:subject:message-id:mime-version; bh=5ANpmiLskwModATijedFtZ0Py6jkZJUuVJG6wgLn2Pk=; b=EmUmKJHkYVNX0qD55kVz+rNYMl7AjxdfRlgemssft/yaP8qjhztPfo4O b6ttdTKz2Lnk8gEJ8u+2vg1PicMJmhhop56NTzP1b0Jq4IIU9FYbuPVDK t9SnrPIQGVPySiW+ldI3yfDpkYjwzT+/D37Qd4yaUxrcMUvKb76Gb906U Q7i4yYcliiYtQvghWtaW8ifRWDRZQNzx/MXOxm86gEdvsUGBrv+1uBEDi m6dgKTdiUWriVDlCmdkcLMD0er0nSTuTQtQUf4TS8F3/RaTFofMmbuydz gRd7fS5yf2E8EhPu1nLONXiHXPhx+XZDNRxiTOvJvDGqBqcH0bmOillV2 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10473"; a="300015715" X-IronPort-AV: E=Sophos;i="5.93,323,1654585200"; d="scan'208";a="300015715" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2022 18:50:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,323,1654585200"; d="scan'208";a="651263247" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 17 Sep 2022 18:50:13 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1oZjRl-0000mJ-0P; Sun, 18 Sep 2022 01:50:13 +0000 Date: Sun, 18 Sep 2022 09:49:31 +0800 From: kernel test robot To: Ammar Faizi , GNU/Weeb Mailing List Cc: kbuild-all@lists.01.org Subject: [ammarfaizi2-block:google/android/kernel/common/android12-5.10-2022-03 1471/9999] kernel/tracepoint.c:720:5: warning: no previous prototype for 'android_rvh_probe_register' Message-ID: <202209180915.PR14yggK-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: Hi Quentin, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10-2022-03 head: 64099431c232d4a95f621411747a3972cc1c8061 commit: cc6eed90a467a413b9c62fdd76e8f06347266a88 [1471/9999] ANDROID: vendor_hooks: Allow multiple attachments to restricted hooks config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220918/202209180915.PR14yggK-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/cc6eed90a467a413b9c62fdd76e8f06347266a88 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-2022-03 git checkout cc6eed90a467a413b9c62fdd76e8f06347266a88 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/gfp.h:6, from include/linux/umh.h:4, from include/linux/kmod.h:9, from include/linux/module.h:16, from kernel/tracepoint.c:5: include/linux/mmzone.h: In function '__nr_to_section': include/linux/mmzone.h:1274:13: warning: the comparison will always evaluate as 'true' for the address of 'mem_section' will never be NULL [-Waddress] 1274 | if (!mem_section[SECTION_NR_TO_ROOT(nr)]) | ^ include/linux/mmzone.h:1260:27: note: 'mem_section' declared here 1260 | extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]; | ^~~~~~~~~~~ kernel/tracepoint.c: At top level: >> kernel/tracepoint.c:720:5: warning: no previous prototype for 'android_rvh_probe_register' [-Wmissing-prototypes] 720 | int android_rvh_probe_register(struct tracepoint *tp, void *probe, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DMADEVICES Depends on [n]: HAS_DMA [=n] Selected by [y]: - GKI_HIDDEN_SND_SOC_CONFIGS [=y] WARNING: unmet direct dependencies detected for DRM_MIPI_DSI Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && HAS_DMA [=n] Selected by [m]: - SND_ATMEL_SOC_SSC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] - SND_ATMEL_SOC_SSC_PDC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] WARNING: unmet direct dependencies detected for DRM_KMS_CMA_HELPER Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] WARNING: unmet direct dependencies detected for DRM_GEM_CMA_HELPER Depends on [n]: HAS_IOMEM [=y] && DRM [=n] Selected by [y]: - GKI_HIDDEN_DRM_CONFIGS [=y] vim +/android_rvh_probe_register +720 kernel/tracepoint.c 719 > 720 int android_rvh_probe_register(struct tracepoint *tp, void *probe, void *data) -- 0-DAY CI Kernel Test Service https://01.org/lkp