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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0DA8C43334 for ; Tue, 12 Jul 2022 07:05:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 66C63940051; Tue, 12 Jul 2022 03:05:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 61C09940033; Tue, 12 Jul 2022 03:05:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 50A9C940051; Tue, 12 Jul 2022 03:05:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 41DB6940033 for ; Tue, 12 Jul 2022 03:05:14 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id D7383DCD for ; Tue, 12 Jul 2022 07:05:13 +0000 (UTC) X-FDA: 79677561306.02.5E79943 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by imf23.hostedemail.com (Postfix) with ESMTP id DC202140073 for ; Tue, 12 Jul 2022 07:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657609512; x=1689145512; h=date:from:to:cc:subject:message-id:mime-version; bh=8Lq1X0AUd8tkulzKku6objtA3lFI3Ts41tH6rT6uzO8=; b=P+rpWwAtG5/eaJdqdn1qVBbYFpyGtfhV1YD3CREY6kHSxeJ/evO8Na3B mgyVPwtG9pLsRlQGvgms5a3x1NRY6oEiRyv9C2ItDk8RgV8u/7jqhxpUT RiS8z/7ZSFPaEyUGE9dPKkXYhflBhVRYfSFxXXcW345B7+wgp2XjfxlCd vKcYgtyDZY/6au9jOciU1ufESFaM1pYRbxPAIOdiF6Jj2XMVmNMARN1oa +NNV2VmAHIayweq2GfnqQWhFul68ffBAFUdbg5yvzBR4/bpkaSfK36n6k 9ZNpXjk6RttE7Q03pbVkLAJ4E12FtjYl5gPa1tdbMfrnoT7vlop8XMcFx Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10405"; a="282409407" X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="282409407" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2022 00:05:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,265,1650956400"; d="scan'208";a="622393127" Received: from lkp-server02.sh.intel.com (HELO 8708c84be1ad) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 12 Jul 2022 00:05:04 -0700 Received: from kbuild by 8708c84be1ad with local (Exim 4.95) (envelope-from ) id 1oB9x9-0001r9-B5; Tue, 12 Jul 2022 07:05:03 +0000 Date: Tue, 12 Jul 2022 15:04:08 +0800 From: kernel test robot To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 6949/9472] drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel' Message-ID: <202207121410.tRazSVci-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=P+rpWwAt; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf23.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.93) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657609512; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=V5uwdP9fCU4QFlquRyBsCiCH6EOx3XGkfW0zULC45Zo=; b=fRCDNXmCRYFBMXJUjxxwg1vkSeb1PiRGeLOyWJ0C3PXIumT2OAEtXgbJB5xG3cj37J+Xb4 l1iMcnxnFKBHNmLL3Bay7NpuK0fi/dxqkpkn6AXQzQFkCkgyYSrrv37Vkdy1nyjdaWGMI1 TMtXSbls+Uo/gb1iwdpTCEgRh2O3A6Q= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657609512; a=rsa-sha256; cv=none; b=dsEMlwBo01IFGLNanDa6Co5dyZgYwogXsLUohTeOEQ3evIhzv7+5l7Ubs3P2dzIthSjQ1m 09TEReG0pS6XYYLpX2YzUCXV1tYPas04vu8H3a1PbLKSocBED0fH4F6QDc98YMjT8I6XZx jst2TzKzFloy+gCW73Got+oliufijAw= Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=P+rpWwAt; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf23.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.93) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam08 X-Stat-Signature: j3h7fkh4yxhcfc35rekts7wyaf56rh47 X-Rspamd-Queue-Id: DC202140073 X-HE-Tag: 1657609511-161643 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4112a8699ae2eac797415b9be1d7901b3f79e772 commit: 73289afe03619bac585b69f563d0bb9a52e67722 [6949/9472] drm: Remove linux/fb.h from drm_crtc.h config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220712/202207121410.tRazSVci-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73289afe03619bac585b69f563d0bb9a52e67722 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 73289afe03619bac585b69f563d0bb9a52e67722 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Note: the linux-next/master HEAD 4112a8699ae2eac797415b9be1d7901b3f79e772 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_write': >> drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration] 335 | writel(val, dp->iomem + offset); | ^~~~~~ drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_read': >> drivers/gpu/drm/xlnx/zynqmp_dp.c:340:16: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] 340 | return readl(dp->iomem + offset); | ^~~~~ cc1: some warnings being treated as errors vim +/writel +335 drivers/gpu/drm/xlnx/zynqmp_dp.c d76271d22694e8 Hyun Kwon 2018-07-07 332 d76271d22694e8 Hyun Kwon 2018-07-07 333 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val) d76271d22694e8 Hyun Kwon 2018-07-07 334 { d76271d22694e8 Hyun Kwon 2018-07-07 @335 writel(val, dp->iomem + offset); d76271d22694e8 Hyun Kwon 2018-07-07 336 } d76271d22694e8 Hyun Kwon 2018-07-07 337 d76271d22694e8 Hyun Kwon 2018-07-07 338 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset) d76271d22694e8 Hyun Kwon 2018-07-07 339 { d76271d22694e8 Hyun Kwon 2018-07-07 @340 return readl(dp->iomem + offset); d76271d22694e8 Hyun Kwon 2018-07-07 341 } d76271d22694e8 Hyun Kwon 2018-07-07 342 :::::: The code at line 335 was first introduced by commit :::::: d76271d22694e874ed70791702db9252ffe96a4c drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem :::::: TO: Hyun Kwon :::::: CC: Laurent Pinchart -- 0-DAY CI Kernel Test Service https://01.org/lkp