From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (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 3514A13D8AA; Tue, 26 Mar 2024 23:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711496890; cv=none; b=Bn3Ee4G0Y81///LD2dVGiTJGBbsUmvIqbZXlQ3OvJUyNcb08HDFFG8tfxPgnl8g8NFsRaIqDWIMdWaB7MnNPgB2MX29LaQ0F0PBkArMhMwl/s+ogE7Zy1t/zZnVlW/BjTtlUthsIEuEqB5Roc1HrWHqbF1c9k9CszDeM1+733gk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711496890; c=relaxed/simple; bh=BM77mfBNZdkLh7yVctCWrczljWfSC5+dBuRPwnQMHnQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GudBACTfuqmZi6oMcOIY9Lt0Qd6wwwoZsixakXYYGRyOTb0IJLZEqDXc3Nh6BVeW2Xf1G/N3KD/+Up828wSTvmraWcqDYh21xq2LzAhDxVSlnvZ7Rb+u51a1l6hlJW7pkaBDNe+KRa0tfk3q31DZARMiB8LffmFoxlJj93vpMLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HlC/T/2L; arc=none smtp.client-ip=192.198.163.17 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="HlC/T/2L" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711496888; x=1743032888; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BM77mfBNZdkLh7yVctCWrczljWfSC5+dBuRPwnQMHnQ=; b=HlC/T/2LEjjpUPVxosuASnBiO+zu3tkJNbzZ3YgSAFngbXOT9msUPXV3 mZSAhZqSirK0pd4Y7eoBQzuDbjIx/QW3regscJcQo6E68IA10nzWxZc1x wX0+LEhtGLkZ43zGoPjyb7tlnvUTiq2DvwN95KKgOPClN3XmPf1l+7FWd 9szSkKKmMGtr0aVJ9OaOomNDcgzg4DHUFfy/zlUWZRivrNFBPDZVkJanR giwgxSiCvCYSsdMn/3mtbO6g2mBA3GxRZlpvm8tR+TiG88axcs7/qohh6 JZ0B4i+rVjn6GtRVNQFndzy0cI4tzi8FMGG81dwJuYdEcNZGISriEYCWd A==; X-CSE-ConnectionGUID: WU+/mKBNRuW81BKXJg7EWw== X-CSE-MsgGUID: QRb0YfcbQc6MY9WJ83yGeQ== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="6442252" X-IronPort-AV: E=Sophos;i="6.07,157,1708416000"; d="scan'208";a="6442252" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 16:48:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,157,1708416000"; d="scan'208";a="15962273" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 26 Mar 2024 16:48:05 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rpGWR-0000Y4-03; Tue, 26 Mar 2024 23:48:03 +0000 Date: Wed, 27 Mar 2024 07:47:30 +0800 From: kernel test robot To: Pavan Holla , Greg Kroah-Hartman , Heikki Krogerus Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Abhishek Pandit-Subedi , Pavan Holla Subject: Re: [PATCH 3/3] platform/chrome: cros_ec_ucsi: Implement UCSI PDC driver Message-ID: <202403270732.SwdF4BV2-lkp@intel.com> References: <20240325-public-ucsi-h-v1-3-7c7e888edc0a@chromium.org> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240325-public-ucsi-h-v1-3-7c7e888edc0a@chromium.org> Hi Pavan, kernel test robot noticed the following build warnings: [auto build test WARNING on 4cece764965020c22cff7665b18a012006359095] url: https://github.com/intel-lab-lkp/linux/commits/Pavan-Holla/usb-typec-ucsi-Provide-interface-for-UCSI-transport/20240326-074003 base: 4cece764965020c22cff7665b18a012006359095 patch link: https://lore.kernel.org/r/20240325-public-ucsi-h-v1-3-7c7e888edc0a%40chromium.org patch subject: [PATCH 3/3] platform/chrome: cros_ec_ucsi: Implement UCSI PDC driver config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240327/202403270732.SwdF4BV2-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240327/202403270732.SwdF4BV2-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/202403270732.SwdF4BV2-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/platform/chrome/cros_ec_ucsi.c:224:12: warning: 'cros_ucsi_resume' defined but not used [-Wunused-function] 224 | static int cros_ucsi_resume(struct device *dev) | ^~~~~~~~~~~~~~~~ >> drivers/platform/chrome/cros_ec_ucsi.c:215:12: warning: 'cros_ucsi_suspend' defined but not used [-Wunused-function] 215 | static int cros_ucsi_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~ vim +/cros_ucsi_resume +224 drivers/platform/chrome/cros_ec_ucsi.c 214 > 215 static int cros_ucsi_suspend(struct device *dev) 216 { 217 struct cros_ucsi_data *udata = dev_get_drvdata(dev); 218 219 cancel_work_sync(&udata->work); 220 221 return 0; 222 } 223 > 224 static int cros_ucsi_resume(struct device *dev) 225 { 226 struct cros_ucsi_data *udata = dev_get_drvdata(dev); 227 228 return ucsi_resume(udata->ucsi); 229 } 230 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki