From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75B62E570 for ; Sat, 14 Oct 2023 10:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GbrMtKBu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697280558; x=1728816558; h=date:from:to:cc:subject:message-id:mime-version; bh=xDALR3C+YlDMBPdc6GkQLbzqdt7WJ9/ZZKqU6bd4lJ8=; b=GbrMtKBuDky83NjATwkkxdXg3GCO7mQrW8bKISKiSb+Q1clvSNJWOiwS ur+n7+kCUPF8VaCxjqH1lSSD1xpaJdu6Ez6His+CBFIqKUCsArZ5RzBix XkE7HuOHkxBf6jVZtEfk7bgE5Dm4HyXQoKE5h3yQU0C5L9C4UF7BavKy6 v14JeidgX5Eg3++OAt5f530WZiX//0PVN6Pc6r+qwRo1G61+g9XiLz+jf 2ioP1h2nxVWJ51yqIP22EFqdU8FXAQNbmrOkhTs/AlHYqemKdkC7TxrQe An0MzpsWXnqrZ/8rw7lUQOe0HlcHtY9sGIResdJDhxs7oPzqmbYgY3Owp g==; X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="384187739" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="384187739" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2023 03:49:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="820952562" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="820952562" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 14 Oct 2023 03:49:16 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qrcCo-00064u-0l; Sat, 14 Oct 2023 10:49:14 +0000 Date: Sat, 14 Oct 2023 18:48:19 +0800 From: kernel test robot To: Otavio Salvador Cc: oe-kbuild-all@lists.linux.dev Subject: [freescale-fslc:pr/642 1577/30000] arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' Message-ID: <202310141846.x87cTfWe-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://github.com/Freescale/linux-fslc pr/642 head: c8b7cf62c7fea8456dec789d550b8006d73b8f04 commit: b5805df1b1a6c25d66b734c9249ac30c5f419b9d [1577/30000] MLK-14392-1 input: touch: add focaltech touch screen support config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20231014/202310141846.x87cTfWe-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231014/202310141846.x87cTfWe-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310141846.x87cTfWe-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55, from drivers/input/touchscreen/focaltech_touch/focaltech_core.c:34: arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access': >> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration] 90 | return uaccess_kernel(); | ^~~~~~~~~~~~~~ drivers/input/touchscreen/focaltech_touch/focaltech_core.c: In function 'fts_parse_dt': drivers/input/touchscreen/focaltech_touch/focaltech_core.c:970:31: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 970 | if (pdata->reset_gpio < 0) | ^ drivers/input/touchscreen/focaltech_touch/focaltech_core.c:976:29: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 976 | if (pdata->irq_gpio < 0) | ^ drivers/input/touchscreen/focaltech_touch/focaltech_core.c: At top level: drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1328:12: warning: 'fts_ts_resume' defined but not used [-Wunused-function] 1328 | static int fts_ts_resume(struct device *dev) | ^~~~~~~~~~~~~ drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1267:12: warning: 'fts_ts_suspend' defined but not used [-Wunused-function] 1267 | static int fts_ts_suspend(struct device *dev) | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55, from drivers/input/touchscreen/focaltech_touch/focaltech_esdcheck.c:38: arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access': >> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration] 90 | return uaccess_kernel(); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/uaccess_kernel +90 arch/mips/include/asm/uaccess.h ^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 76 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 77 /* 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 78 * eva_kernel_access() - determine whether kernel memory access on an EVA system 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 79 * 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 80 * Determines whether memory accesses should be performed to kernel memory 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 81 * on a system using Extended Virtual Addressing (EVA). 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 82 * 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 83 * Return: true if a kernel memory access on an EVA system, else false. 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 84 */ 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 85 static inline bool eva_kernel_access(void) 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 86 { 97f2645f358b41 arch/mips/include/asm/uaccess.h Masahiro Yamada 2016-08-03 87 if (!IS_ENABLED(CONFIG_EVA)) 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 88 return false; 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 89 db68ce10c4f0a2 arch/mips/include/asm/uaccess.h Al Viro 2017-03-20 @90 return uaccess_kernel(); 12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 91 } ^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 92 :::::: The code at line 90 was first introduced by commit :::::: db68ce10c4f0a27c1ff9fa0e789e5c41f8c4ea63 new helper: uaccess_kernel() :::::: TO: Al Viro :::::: CC: Al Viro -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki