Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5304065pxj; Wed, 26 May 2021 07:35:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBuLD73pcAYoTP0EEWUAphtx7PUWmjNLeeHuPmubGgUPndZfNuxpvt8VXoOrY5r7IYuGXS X-Received: by 2002:a92:d48d:: with SMTP id p13mr27863306ilg.236.1622039726846; Wed, 26 May 2021 07:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622039726; cv=none; d=google.com; s=arc-20160816; b=Mg53sLdLhfbczxnBbnNqo4eaf21FLTsRpfBlmQWypwN3VNcWSeiImx2HtJI3F5SUjV DuVYM2eS29PjGI8AYo5tktbaaoZtjz8dpFMu+HP1KuFAwe3UfaWo6JQefve/WC7d0D4G BXi28v5tQr9ZdOdWaMPOzKcpA36gGjFHoN073QKsrrgCF6hER/LJsDXegsFywwl4m+Db djNXwKoRP5q7Y7uGwwLVGKRpSAU3pe1mEWReHdkOgRxj6eDfHj9LVnqFzTree8ZDakig fB/W+h2aXm6smmKDZ+yXJ7WAMxnl6SbKTtBWD03wb9X4EpuBFyQL6mwU95gIT8UDHthw QbGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=hOvSME+ckZkwiFFcrXnWQBY6jJ7H8KQS+PCQkwCA2iE=; b=lB3/EbDsyfy8zNzmCR9XS+e10HMclCOKLjeLeJ/prCWW++hCGdENBMiWu5CMONTWKt Veu4AUZuCrAL2pwjIf2RCEdXGkWoM7i2+G8rU5X+TBqCZjvZD+HLNPT7d+iZoSFfoIqq 3MHkym+J6HUcJx3vTd2Dku6ZzRArw2Iow3UHhwh4OWJ+TtscWm17frHHcEb0rrpPyoDZ LO0+Zdn3a6MT24luEC9wRFEz11BXHUQ4J7rFPru0lNWlr19p8pwYEifFov/ssiV80jhQ c+v6p53q+/9Mjb+7qykbynGblC+3kSNLIZrADNYs5JcysxUXlc7x65sIZO/M2cj0TZs+ sTOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si21392002jaj.3.2021.05.26.07.35.00; Wed, 26 May 2021 07:35:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234778AbhEZOfv (ORCPT + 99 others); Wed, 26 May 2021 10:35:51 -0400 Received: from mga14.intel.com ([192.55.52.115]:55767 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234654AbhEZOfu (ORCPT ); Wed, 26 May 2021 10:35:50 -0400 IronPort-SDR: kDmIkT1linDVZu9VXytLv08oHSJnyVZ7ovml/ZfxuYf25u7Kd7jp9rLCXyqmtmKI8me6xtJNoC vc6NmWVbcBWw== X-IronPort-AV: E=McAfee;i="6200,9189,9996"; a="202237222" X-IronPort-AV: E=Sophos;i="5.82,331,1613462400"; d="scan'208";a="202237222" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2021 07:34:19 -0700 IronPort-SDR: RhaMNxmy4Z0+41CmajKuQzy5L+Qz5M4ETm8NUsnfxBk4u2fj0WQxd8FhUzvUwkqoEbK7Jnyqmi dex+xM9m1c6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,331,1613462400"; d="scan'208";a="547214622" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 26 May 2021 07:34:17 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 26 May 2021 17:34:16 +0300 Date: Wed, 26 May 2021 17:34:16 +0300 From: Heikki Krogerus To: Lee Jones Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: Re: [PATCH 24/24] usb: typec: ucsi: Fix copy/paste issue for 'ucsi_set_drvdata()' Message-ID: References: <20210526130037.856068-1-lee.jones@linaro.org> <20210526130037.856068-25-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526130037.856068-25-lee.jones@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 02:00:37PM +0100, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/usb/typec/ucsi/ucsi.c:1287: warning: expecting prototype for ucsi_get_drvdata(). Prototype was for ucsi_set_drvdata() instead > > Cc: Heikki Krogerus > Cc: Greg Kroah-Hartman > Cc: linux-usb@vger.kernel.org > Signed-off-by: Lee Jones Reviewed-by: Heikki Krogerus > --- > drivers/usb/typec/ucsi/ucsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c > index b433169ef6fa4..4e1973fbdf0dc 100644 > --- a/drivers/usb/typec/ucsi/ucsi.c > +++ b/drivers/usb/typec/ucsi/ucsi.c > @@ -1279,7 +1279,7 @@ void *ucsi_get_drvdata(struct ucsi *ucsi) > EXPORT_SYMBOL_GPL(ucsi_get_drvdata); > > /** > - * ucsi_get_drvdata - Assign private driver data pointer > + * ucsi_set_drvdata - Assign private driver data pointer > * @ucsi: UCSI interface > * @data: Private data pointer > */ > -- > 2.31.1 -- heikki