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 27D8DC27C76 for ; Sat, 28 Jan 2023 08:38:32 +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:MIME-Version:Message-ID:Subject:Cc:To: From:Date: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=GbmiBPfyO3a7eUsptPao6FFSMtPnhlM58h9Ucr9WI9Q=; b=HZlih6+sXrGgzx 2Rq/S/F1CHkzSTzfE5NM0E3QKPtgPHkFlKe0idtEfvy/FGtBu5+KYLjV92D3kQI9/XcI36DA6rGx9 Cbzo69mI/avGgAQxiCQROQV2ApNMOwFDRvjmGveLurj8u/INUe/2KT2IISNvuMJtCTP8hY/K8Pc/H loDjlMl38Ct/4lntHwqHK9kxfSj79VefuCbuSNnI9cM0jaPV1bzlEbTOgv8+lVWVpEQ0hyORnQUiC blZRr1pijKQArctEMk8XaqA1vvWWJX5KWVqQHUGx7guYVWcVtZA9GPyg2MA+l9Jy2b9hi1h+uSfGb ZhDONNHX3j1wa49mHzEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLgiL-00HU9o-G5; Sat, 28 Jan 2023 08:37:33 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLgiH-00HU8V-7j for linux-arm-kernel@lists.infradead.org; Sat, 28 Jan 2023 08:37:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674895049; x=1706431049; h=date:from:to:cc:subject:message-id:mime-version; bh=cWUHMzGqepqPSXKZ9SuHXnAObjfKvoGh+wANs5Wh5vY=; b=DUcPBhInqXgUh9isNii5uIAzNc/gHezKlh3AMrHZXgzK29D8AmofxzjL bUAd2gOlf+0LSMOGLxl/zGeuLUq9ix9s2dHw9+AGtDo70YF6M9hrhTZWf Zo1OYWEdMDIKY4nv6fWZjeUOQatB7fzSARl8/v/t6huVdP44j1aceaYYG HGJloLmqKFnlOCNUxJDny9Wk/EX/tesvHxaYw0az5hlEdrP/YfnfgzhdH ykhpvXgo6axc0MSm3xjMnrsB7mBeI+/Q3weBxX7voKEnU0v8Qgzmkb3tD lZXdGbcx8/r9FJzLdzmznmIWoskI5IGN+YjFflG8gXe0gyqP9m83Ad0Df w==; X-IronPort-AV: E=McAfee;i="6500,9779,10603"; a="315229706" X-IronPort-AV: E=Sophos;i="5.97,253,1669104000"; d="scan'208";a="315229706" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2023 00:37:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10603"; a="663556617" X-IronPort-AV: E=Sophos;i="5.97,253,1669104000"; d="scan'208";a="663556617" Received: from lkp-server01.sh.intel.com (HELO ffa7f14d1d0f) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 28 Jan 2023 00:37:24 -0800 Received: from kbuild by ffa7f14d1d0f with local (Exim 4.96) (envelope-from ) id 1pLgiB-0000WX-0Z; Sat, 28 Jan 2023 08:37:23 +0000 Date: Sat, 28 Jan 2023 16:37:08 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [linusw-nomadik:ux500-sound 1/5] sound/soc/samsung/s3c24xx-i2s.c:436:56: error: passing argument 4 of 'samsung_asoc_dma_platform_register' from incompatible pointer type Message-ID: <202301281624.uV0BG9Do-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230128_003729_347143_FBA02DD6 X-CRM114-Status: GOOD ( 15.95 ) 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-sound head: b65694eef136170ab7bac3d1f351b7d41fda5167 commit: 7310aaadf8ec3701122d4d856d1a8ca497f94582 [1/5] ASoC: samsung: remove DMA filter function and data config: microblaze-randconfig-r022-20230123 (https://download.01.org/0day-ci/archive/20230128/202301281624.uV0BG9Do-lkp@intel.com/config) compiler: microblaze-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://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=7310aaadf8ec3701122d4d856d1a8ca497f94582 git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git git fetch --no-tags linusw-nomadik ux500-sound git checkout 7310aaadf8ec3701122d4d856d1a8ca497f94582 # 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=microblaze olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash sound/soc/codecs/ sound/soc/samsung/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): sound/soc/samsung/s3c24xx-i2s.c: In function 's3c24xx_iis_dev_probe': >> sound/soc/samsung/s3c24xx-i2s.c:436:56: error: passing argument 4 of 'samsung_asoc_dma_platform_register' from incompatible pointer type [-Werror=incompatible-pointer-types] 436 | "tx", "rx", NULL); | ^~~~ | | | char * In file included from sound/soc/samsung/s3c24xx-i2s.c:21: sound/soc/samsung/dma.h:17:55: note: expected 'struct device *' but argument is of type 'char *' 17 | struct device *dma_dev); | ~~~~~~~~~~~~~~~^~~~~~~ >> sound/soc/samsung/s3c24xx-i2s.c:435:15: error: too many arguments to function 'samsung_asoc_dma_platform_register' 435 | ret = samsung_asoc_dma_platform_register(&pdev->dev, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/samsung/dma.h:15:5: note: declared here 15 | int samsung_asoc_dma_platform_register(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/samsung_asoc_dma_platform_register +436 sound/soc/samsung/s3c24xx-i2s.c 5642ddff274172 sound/soc/samsung/s3c24xx-i2s.c Kuninori Morimoto 2013-03-21 422 fdca21ad460320 sound/soc/samsung/s3c24xx-i2s.c Bill Pemberton 2012-12-07 423 static int s3c24xx_iis_dev_probe(struct platform_device *pdev) f0fba2ad1b6b53 sound/soc/s3c24xx/s3c24xx-i2s.c Liam Girdwood 2010-03-17 424 { 87b132bc0315fd sound/soc/samsung/s3c24xx-i2s.c Vasily Khoruzhick 2014-06-23 425 struct resource *res; 5d3c1f633ea298 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-11-02 426 int ret; 87b132bc0315fd sound/soc/samsung/s3c24xx-i2s.c Vasily Khoruzhick 2014-06-23 427 b73cbd7b1c2d47 sound/soc/samsung/s3c24xx-i2s.c Yang Yingliang 2021-06-16 428 s3c24xx_i2s.regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); c479163a1b6ab4 sound/soc/samsung/s3c24xx-i2s.c Wei Yongjun 2015-04-16 429 if (IS_ERR(s3c24xx_i2s.regs)) c479163a1b6ab4 sound/soc/samsung/s3c24xx-i2s.c Wei Yongjun 2015-04-16 430 return PTR_ERR(s3c24xx_i2s.regs); 87b132bc0315fd sound/soc/samsung/s3c24xx-i2s.c Vasily Khoruzhick 2014-06-23 431 8999390e40abe8 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-08-04 432 s3c24xx_i2s_pcm_stereo_out.addr = res->start + S3C2410_IISFIFO; 8999390e40abe8 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-08-04 433 s3c24xx_i2s_pcm_stereo_in.addr = res->start + S3C2410_IISFIFO; a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 434 6c9473c55e7bb9 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-11-02 @435 ret = samsung_asoc_dma_platform_register(&pdev->dev, NULL, 0f928c19b646f6 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2019-02-14 @436 "tx", "rx", NULL); a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 437 if (ret) { 6c9473c55e7bb9 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-11-02 438 dev_err(&pdev->dev, "Failed to register the DMA: %d\n", ret); a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 439 return ret; a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 440 } a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 441 73f5dfc68316be sound/soc/samsung/s3c24xx-i2s.c Marek Szyprowski 2016-10-27 442 ret = devm_snd_soc_register_component(&pdev->dev, 73f5dfc68316be sound/soc/samsung/s3c24xx-i2s.c Marek Szyprowski 2016-10-27 443 &s3c24xx_i2s_component, &s3c24xx_i2s_dai, 1); 7253e354e712d2 sound/soc/samsung/s3c24xx-i2s.c Tushar Behera 2014-05-21 444 if (ret) 6c9473c55e7bb9 sound/soc/samsung/s3c24xx-i2s.c Sylwester Nawrocki 2016-11-02 445 dev_err(&pdev->dev, "Failed to register the DAI\n"); a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 446 a08485d8fdf6f6 sound/soc/samsung/s3c24xx-i2s.c Padmavathi Venna 2012-12-07 447 return ret; f0fba2ad1b6b53 sound/soc/s3c24xx/s3c24xx-i2s.c Liam Girdwood 2010-03-17 448 } f0fba2ad1b6b53 sound/soc/s3c24xx/s3c24xx-i2s.c Liam Girdwood 2010-03-17 449 :::::: The code at line 436 was first introduced by commit :::::: 0f928c19b646f6af39ccf7481a546e5da616bb78 ASoC: samsung: Specify DMA channel names through custom DMA config :::::: TO: Sylwester Nawrocki :::::: CC: Mark Brown -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel