Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2291246pxp; Mon, 21 Mar 2022 16:03:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrmXMVjazBy0DaJ9V4bwPJQbRXtIwdPB4+S29p0GuDQVBWVtDfyr4tS3UAK5v/jH8VznCF X-Received: by 2002:a17:902:8f94:b0:14f:d9b3:52c2 with SMTP id z20-20020a1709028f9400b0014fd9b352c2mr15015508plo.103.1647903823364; Mon, 21 Mar 2022 16:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647903823; cv=none; d=google.com; s=arc-20160816; b=l56BauXf/Gzv4XQefihF15ueQf9sPB0M0xAVlDHqGjyl2hYsLrqfUmwAgrLveXeGOe jl/iLPAz/JnV8VLws7lfinURAwUt20nnwz68kRX7HvGp1jX1GLlKqzZHpCW6E/WfsaAn LaNGb5/NTxvQGSsIjrqvscIfyjnugG1Fc9gGOBPsZvbJre0ungA85PSU94spCo4gAkJO idCTArYX5T89Q2Xc5WNQfgte+kCSY8FQqPamVaAYLxphYAPsh8UWf80Td/jtcwGe4vAa eXpNJlfk08XpUEJV7t2fONT5lLqhZ1zikyOwn77YIBjV7aUlrhHBr9FI4bmVL3nDoUVS uFfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5pXDJGDdZ0eOAmF4zpFliXVd6+jiUe6xBQEieTsKKCc=; b=jKDaZktxR8lBYDNBp9CzWEqD/5DY8fHf6LO7P9C0nHN37nj9dR/WPao6CEWwPa+hUn lJqxc7qwBc34ryCLg472FJ/THLUtfgLsMpyjZqXopbsXCWPXaNeKcwEasJ6x0BY6ebO1 XWKCp6C+8kciw7B48LId8Pj2VFlsHXV+dMmJ846kCW2XFblvBhH7OjISbHqYux35pq8o s7rjEv/fcqHvQ4X+7djGZeMMAwil+N2bon+6kR2rHsCFA6nXyALPKOcD65Sn9GpUhws7 64vKDJNRbVTSa8jyh+rmCOIzVVGghmc0ETTaeL4KvD4nmxg25w5j1n4RkHQF+7Xkq5Ur L9sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vi44FdVj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id cj20-20020a056a00299400b004fa900f2cdesi6352911pfb.149.2022.03.21.16.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:03:43 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vi44FdVj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2506B40CFEA; Mon, 21 Mar 2022 15:02:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351292AbiCUQjl (ORCPT + 99 others); Mon, 21 Mar 2022 12:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351284AbiCUQjk (ORCPT ); Mon, 21 Mar 2022 12:39:40 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE4C140CB; Mon, 21 Mar 2022 09:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647880693; x=1679416693; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1SHt+fk2mBoD22kwltECjij4B6KkTs/bLLsGHAHaOZI=; b=Vi44FdVjiJkaO03owuOYK8vVpSoXz+L308/AmsA920DfuFijLk+A7neI ErJTSV0mKDE6XHQ25GxC2g3Wz4DwT5OYlxzWZBhjk0OeJykiXQwQ2iFpK jw5mFlLXDonVPbNo/KhzXGSI4CTUI6qJ1L/XKl6yKn6qKbcjw8uQ/Iw/e 2TqEai3ZVfd8jQYXg5wyrID7U9dd3kWphpF83CTtB4O6YWPawF1/bCaiE 1AKrT5deVPrOntq0QBY8FuBhtSYgPKP+vqTCra/1K5mc/WWcuE3P4qas4 azRyJESNdKDBugjSgdeTSigDv46/v6xb4x65L94s1pjPTpM1h2ZpdYuZy A==; X-IronPort-AV: E=McAfee;i="6200,9189,10293"; a="238200349" X-IronPort-AV: E=Sophos;i="5.90,199,1643702400"; d="scan'208";a="238200349" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 09:38:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,199,1643702400"; d="scan'208";a="648624369" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 21 Mar 2022 09:38:10 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nWL2n-000HzH-CN; Mon, 21 Mar 2022 16:38:09 +0000 Date: Tue, 22 Mar 2022 00:37:10 +0800 From: kernel test robot To: Daehwan Jung , Mathias Nyman , Greg Kroah-Hartman Cc: kbuild-all@lists.01.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Howard Yen , Jack Pham , Puma Hsu , "J . Avila" , Daehwan Jung , sc.suh@samsung.com Subject: Re: [PATCH v3 4/4] usb: host: add xhci-exynos driver Message-ID: <202203220027.WbsbZkyk-lkp@intel.com> References: <1647853194-62147-5-git-send-email-dh10.jung@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1647853194-62147-5-git-send-email-dh10.jung@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daehwan, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20220318] [also build test ERROR on v5.17] [cannot apply to usb/usb-testing krzk/for-next char-misc/char-misc-testing v5.17 v5.17-rc8 v5.17-rc7] [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] url: https://github.com/0day-ci/linux/commits/Daehwan-Jung/usb-host-export-symbols-for-xhci-hooks-usage/20220321-180046 base: 6d72dda014a4753974eb08950089ddf71fec4f60 config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220322/202203220027.WbsbZkyk-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/517a7258fc6a2861b66ae9893b39d8bd4d6739e7 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Daehwan-Jung/usb-host-export-symbols-for-xhci-hooks-usage/20220321-180046 git checkout 517a7258fc6a2861b66ae9893b39d8bd4d6739e7 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/usb/host/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): drivers/usb/host/xhci-exynos.c: In function 'xhci_priv_exynos_setup': >> drivers/usb/host/xhci-exynos.c:55:18: error: 'struct xhci_plat_priv' has no member named 'plat_setup' 55 | if (!priv->plat_setup) | ^~ drivers/usb/host/xhci-exynos.c:58:20: error: 'struct xhci_plat_priv' has no member named 'plat_setup' 58 | return priv->plat_setup(hcd); | ^~ drivers/usb/host/xhci-exynos.c: In function 'xhci_exynos_address_device': >> drivers/usb/host/xhci-exynos.c:260:26: warning: variable 'xhci' set but not used [-Wunused-but-set-variable] 260 | struct xhci_hcd *xhci; | ^~~~ drivers/usb/host/xhci-exynos.c: In function 'xhci_exynos_parse_endpoint': >> drivers/usb/host/xhci-exynos.c:276:29: warning: variable 'ep_ctx' set but not used [-Wunused-but-set-variable] 276 | struct xhci_ep_ctx *ep_ctx; | ^~~~~~ drivers/usb/host/xhci-exynos.c: In function 'xhci_exynos_set_hc_event_deq_audio': >> drivers/usb/host/xhci-exynos.c:370:20: warning: variable 'deq' set but not used [-Wunused-but-set-variable] 370 | dma_addr_t deq; | ^~~ drivers/usb/host/xhci-exynos.c: At top level: >> drivers/usb/host/xhci-exynos.c:576:10: error: 'const struct xhci_plat_priv' has no member named 'plat_setup' 576 | .plat_setup = xhci_mvebu_a3700_plat_setup, | ^~~~~~~~~~ >> drivers/usb/host/xhci-exynos.c:576:23: error: 'xhci_mvebu_a3700_plat_setup' undeclared here (not in a function); did you mean 'xhci_mvebu_a3700_init_quirk'? 576 | .plat_setup = xhci_mvebu_a3700_plat_setup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | xhci_mvebu_a3700_init_quirk drivers/usb/host/xhci-exynos.c: In function 'xhci_priv_exynos_setup': drivers/usb/host/xhci-exynos.c:59:1: error: control reaches end of non-void function [-Werror=return-type] 59 | } | ^ At top level: drivers/usb/host/xhci-exynos.c:588:36: warning: 'xhci_plat_brcm' defined but not used [-Wunused-const-variable=] 588 | static const struct xhci_plat_priv xhci_plat_brcm = { | ^~~~~~~~~~~~~~ drivers/usb/host/xhci-exynos.c:584:36: warning: 'xhci_plat_renesas_rcar_gen3' defined but not used [-Wunused-const-variable=] 584 | static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/host/xhci-exynos.c:580:36: warning: 'xhci_plat_renesas_rcar_gen2' defined but not used [-Wunused-const-variable=] 580 | static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen2 = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/host/xhci-exynos.c:575:36: warning: 'xhci_plat_marvell_armada3700' defined but not used [-Wunused-const-variable=] 575 | static const struct xhci_plat_priv xhci_plat_marvell_armada3700 = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/usb/host/xhci-exynos.c:571:36: warning: 'xhci_plat_marvell_armada' defined but not used [-Wunused-const-variable=] 571 | static const struct xhci_plat_priv xhci_plat_marvell_armada = { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +55 drivers/usb/host/xhci-exynos.c 50 51 static int xhci_priv_exynos_setup(struct usb_hcd *hcd) 52 { 53 struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd); 54 > 55 if (!priv->plat_setup) 56 return 0; 57 58 return priv->plat_setup(hcd); 59 } 60 -- 0-DAY CI Kernel Test Service https://01.org/lkp