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 A1AC8C4167B for ; Sat, 25 Nov 2023 15:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eZqSaeBc3i3uneQjhShKQy1oZ7rzJmgGbkdNc+CQXlk=; b=qdFEyVMslUCb6RqoAd9LwLDYAw uPxkJpsCRNhbDOgth/4C/qJuc7pkmXZO+9GUww6pi2Zb63j6Zj4gLtI6O2A25xHNndRZbH2tn4aMK dJ4sBz2WfU8w29d4lsP9YKfTNXNExzIDtJCtg4jBGbhTvjf4yQv5f4m/T1o6yADd/DGZ0U64tnxGb e71HMbWvZqueDAud66ym40fZ/1FyXEr+ox+ennc2Bqg6F5d56P4ywHj6LGOQ1HvOIyckWUfslYcUY mr05LA0rVmad/Bmczdhdor2PArACXs/bJNNUOtJmNRfoi7hBIgdpQnSGSLLDpHaGWHmInRnHQ8eLp XlK4ugvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r6uQ4-009PEZ-2K; Sat, 25 Nov 2023 15:18:08 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r6uQ0-009PE8-2E; Sat, 25 Nov 2023 15:18:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700925483; x=1732461483; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=139b8toziGYJ4TPz+C2NrbBA1ldTf5B8zRgPLW1YMts=; b=DRmOYsOg6nZYwwBni47Kxb4xXPSJYn3gEC4+UJlt8rL0RSUsK9aV1K9i QV3e2oTjHa6WPGCWA+zwMBLkw5MuYcJ5nnasN7ylhfkqaoLdfP8TRp4Yd IOuU2mVdiDK7dz4De24VE9TP9oak0iYPPEgfiYYlRTrVDk0P8FoYq8cVZ Wq3Gyuk91xsYOxTkXGZoYjocwFZogK+VBpsDatBMYAKMZ+eBzwnmd2p1c 32hrik69mQBqIjlLLOiA+S638gPLrlI/nTE1byWG8Kp0XqyQ7eHhPryKG 30udV0VOFZxmThDQG+LDM3dVdkCoZ10Zczj2HaOjUUbMEG1aY3H+YF64d Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10905"; a="5678453" X-IronPort-AV: E=Sophos;i="6.04,226,1695711600"; d="scan'208";a="5678453" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2023 07:17:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10905"; a="838313048" X-IronPort-AV: E=Sophos;i="6.04,226,1695711600"; d="scan'208";a="838313048" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 25 Nov 2023 07:17:32 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r6uPS-00047b-1k; Sat, 25 Nov 2023 15:17:30 +0000 Date: Sat, 25 Nov 2023 23:17:20 +0800 From: kernel test robot To: "mac.shen" , chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jitao.shi@mediatek.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, mac.shen@mediatek.com, shuijing.li@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort Message-ID: <202311252324.TTPd9IXz-lkp@intel.com> References: <20231124085346.26602-1-mac.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231124085346.26602-1-mac.shen@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231125_071804_747879_F160BB77 X-CRM114-Status: GOOD ( 15.40 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi mac.shen, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.7-rc2] [cannot apply to pza/reset/next pza/imx-drm/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/mac-shen/drm-mediatek-dp-Add-the-HDCP-feature-for-DisplayPort/20231125-152640 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231124085346.26602-1-mac.shen%40mediatek.com patch subject: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231125/202311252324.TTPd9IXz-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231125/202311252324.TTPd9IXz-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/202311252324.TTPd9IXz-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/mediatek/mtk_dp.c:349:5: warning: no previous prototype for function 'mtk_dp_read' [-Wmissing-prototypes] 349 | u32 mtk_dp_read(struct mtk_dp *mtk_dp, u32 offset) | ^ drivers/gpu/drm/mediatek/mtk_dp.c:349:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 349 | u32 mtk_dp_read(struct mtk_dp *mtk_dp, u32 offset) | ^ | static >> drivers/gpu/drm/mediatek/mtk_dp.c:376:5: warning: no previous prototype for function 'mtk_dp_update_bits' [-Wmissing-prototypes] 376 | int mtk_dp_update_bits(struct mtk_dp *mtk_dp, u32 offset, | ^ drivers/gpu/drm/mediatek/mtk_dp.c:376:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 376 | int mtk_dp_update_bits(struct mtk_dp *mtk_dp, u32 offset, | ^ | static >> drivers/gpu/drm/mediatek/mtk_dp.c:2663:6: warning: no previous prototype for function 'mtk_dp_check_hdcp_version' [-Wmissing-prototypes] 2663 | void mtk_dp_check_hdcp_version(struct mtk_dp *mtk_dp, bool only_hdcp1x) | ^ drivers/gpu/drm/mediatek/mtk_dp.c:2663:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2663 | void mtk_dp_check_hdcp_version(struct mtk_dp *mtk_dp, bool only_hdcp1x) | ^ | static 3 warnings generated. vim +/mtk_dp_read +349 drivers/gpu/drm/mediatek/mtk_dp.c 348 > 349 u32 mtk_dp_read(struct mtk_dp *mtk_dp, u32 offset) 350 { 351 return mtk_dp_reg_read(mtk_dp->regs, offset); 352 } 353 354 static int mtk_dp_write(struct mtk_dp *mtk_dp, u32 offset, u32 val) 355 { 356 int ret = regmap_write(mtk_dp->regs, offset, val); 357 358 if (ret) 359 dev_err(mtk_dp->dev, 360 "Failed to write register 0x%x with value 0x%x\n", 361 offset, val); 362 return ret; 363 } 364 365 int mtk_dp_reg_update_bits(struct regmap *regs, u32 offset, 366 u32 val, u32 mask) 367 { 368 int ret = regmap_update_bits(regs, offset, mask, val); 369 370 if (ret) 371 pr_err("Failed to update register 0x%x with value 0x%x, mask 0x%x\n", 372 offset, val, mask); 373 return ret; 374 } 375 > 376 int mtk_dp_update_bits(struct mtk_dp *mtk_dp, u32 offset, 377 u32 val, u32 mask) 378 { 379 return mtk_dp_reg_update_bits(mtk_dp->regs, offset, val, mask); 380 } 381 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki