Message ID | 20210526130037.856068-2-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198485jac; Wed, 26 May 2021 06:00:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb/RFGVG8kXM6JtBRk8fL6g7YGNxjS9VrGqZ5BftN8hwNodkOfyqbB5oPmtO8HsMTTzHq2 X-Received: by 2002:a17:906:8a53:: with SMTP id gx19mr33059200ejc.372.1622034058311; Wed, 26 May 2021 06:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034058; cv=none; d=google.com; s=arc-20160816; b=I1Nc6VDx6Rkyy8gRTlc+LZiGTcWcmnLIJYJKOOw4hnfjLXnkl6q2mlx/cILK2xXIx0 6JbSdgBK0M+8DWgaXV46+KE6Eijvsr71OQO+r65QZcFkcd3SlKCCo1sMVoGKy7ewZzxV CDbTPDT7hWpclxjYgPdRtLl6IPQ2eehbGfYcEqFwBGQsOvWrSAVyEymdoplkoknIBmOc 9scMXtyVojvJaK3qidnfqoBjXXGkBxWqb9RgC7qXOQIKt3f9S8Wilp6XCbDnbg/K7CO5 KiCrDwXyLGGO8fVl2dS5aCbJCjCABpEKnAEpIbotz21WPU+6DWF+ZFrXcNk7F4b1IDjR RR4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=yja+O0acEd9Vlp9hxZ60ZMaqi8Zb9gdxSxNYbV9A+IRiCwataiRSBNaceUGbptDbgl uX7rLXMOMkWCI15pSCZl+StSUKQp9JXISFc+aL7oWGZUgSVuT4j43UkB3tWqpELKWnC1 sAi86ZTxbS7tc1cgh7UNyy1xIhYXHgJguuOmpJf6xeqqGdqYCSoFNOJb/5W2M6GQGeB2 rcawOlB4JmKkAoyMFgVIyOrYGbcDkHnmsRvB6sK6ZVicz9pNfIzdS0iNHH+Et1X5ZMs4 g/AhdZ6fK2Nu0qXkXfoquNDzzb4T4N/VUOfMOeU3wv9E4f6AnUsGpLwqGjEjlAdgNIVu 9PbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kl7yRD7q; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-usb-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne35si2486024ejc.666.2021.05.26.06.00.58; Wed, 26 May 2021 06:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kl7yRD7q; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbhEZNCV (ORCPT <rfc822;naresh.kamboju@linaro.org> + 4 others); Wed, 26 May 2021 09:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233945AbhEZNCU (ORCPT <rfc822; linux-usb@vger.kernel.org>); Wed, 26 May 2021 09:02:20 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D730C061574 for <linux-usb@vger.kernel.org>; Wed, 26 May 2021 06:00:48 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id r12so1063782wrp.1 for <linux-usb@vger.kernel.org>; Wed, 26 May 2021 06:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=kl7yRD7q2idFGBdau1DMeBezfOEIHpuwjbQEY8GKGot9XFdDoFo+U40D/+mMYsZeJS +W/V2dBsLSAdkJeZCzHwx2z3PaXdCVB+0osyMldD94IJVG8oxn6vUGdPYH05FuakaGHy Du3HGAkhISQmmrVREW45mhlvHLy09ADQOsTfWwsbiKyq33jNsNQmmhOE+XCEc1jSMGSz lgpvHyc1yc1k02Fp2zLGCcq0gL4Sr+xn0sxjVt7BhApp/LGjph/S8LfAwl4ulpGoVxMP wwCQt6YyIh4YYtIakigw91e9a9rtbdxQD548mLXJwl1LYoy5wrHJD20q1Xl2a07tLHIi CnbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=ItHxJJlNENAJP7zt+4qNKW1BZ5V04on/W9BmM8/wWjizQsD60uMLV/KkAFicfj7J0S e6g073b0A2fQzOqQ/YchdrgWpYe82r+IdudaxHbQEBqHWx6xh9Iw0RN1siOt/vD+9QOz E/K1rQ09WUJnn061ZEo+72iZ7NSM8YFRTFKJB0g6toRwH50HhB50Rwb3lCSQry+KzoqB 0MM6JDUumUuhNLRc1vzivoyDOsJ1yLLR5RRNZBQvBcDXPDtD3QBOOaOSD2zMmdskL/Ck +u+1AsFQGAUPJo2Wsg/4w+qvCmE9shzLpSP6L5xNKvmONCFIime0+iSuwLF7Hw9jcQzw 6R+w== X-Gm-Message-State: AOAM530OOiRRsMO0+c1amRIErWR4+qH0L7sFp6NgJH8Xt6e0M8/Kq9KH PQRkV6IYb/0z07vihhjrUOhZDawGjESHFg== X-Received: by 2002:a5d:4b89:: with SMTP id b9mr32545288wrt.238.1622034047197; Wed, 26 May 2021 06:00:47 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:46 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen <peter.chen@kernel.org>, Pawel Laszczak <pawell@cadence.com>, Roger Quadros <rogerq@kernel.org>, Aswath Govindraju <a-govindraju@ti.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org Subject: [PATCH 01/24] usb: cdns3: core: Fix a couple of incorrectly documented function names Date: Wed, 26 May 2021 14:00:14 +0100 Message-Id: <20210526130037.856068-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
Rid W=1 warnings from USB
|
expand
|
diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index bb739d88179ff..dbcdf3b24b477 100644 --- a/drivers/usb/cdns3/core.c +++ b/drivers/usb/cdns3/core.c @@ -332,7 +332,7 @@ int cdns_hw_role_switch(struct cdns *cdns) } /** - * cdsn3_role_get - get current role of controller. + * cdns_role_get - get current role of controller. * * @sw: pointer to USB role switch structure * @@ -419,7 +419,7 @@ static irqreturn_t cdns_wakeup_irq(int irq, void *data) } /** - * cdns_probe - probe for cdns3/cdnsp core device + * cdns_init - probe for cdns3/cdnsp core device * @cdns: Pointer to cdns structure. * * Returns 0 on success otherwise negative errno
Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/core.c:342: warning: expecting prototype for cdsn3_role_get(). Prototype was for cdns_role_get() instead drivers/usb/cdns3/core.c:428: warning: expecting prototype for cdns_probe(). Prototype was for cdns_init() instead Cc: Peter Chen <peter.chen@kernel.org> Cc: Pawel Laszczak <pawell@cadence.com> Cc: Roger Quadros <rogerq@kernel.org> Cc: Aswath Govindraju <a-govindraju@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/usb/cdns3/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1