From patchwork Wed Jul 16 17:41:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 33748 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C493B201F1 for ; Wed, 16 Jul 2014 17:41:44 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf8749290pab.8 for ; Wed, 16 Jul 2014 10:41:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=BlIOWsLu5UL+k75hYKL0XxqA2Zm1Dl7yTf/YgUi9ZQo=; b=NNZtyT/GKyWfWvFCEu434h9cDw9W5x8KcnnyNKQuTvF7Fs2H5xzLtHK84aLqsuzjBw brOIzrq393lOBBLQ+qaikd5t2f+mbL3SG9cAINUO7M8o3yeGSUrXk3o6nKRsKmXgbmxZ UKXyw5CNOedM7dq5eN25iIUVw0pZ5jPSYj2QN5uYaz+pskHRp5R5tyC1jIWFIp8vYT9d 5fpKh7F+x0wZAOMv/zgCXASFbAlm/B5tpytIxPtdMUVoYNdANrsCU7jW2ybJguuxPCPh X1/1C5GIs774c+a2IHesclmB5jHaEOWJmDStRxc23vszDmCqMeJAh3kyQFRTsyxVXZMi DGJQ== X-Gm-Message-State: ALoCoQn3sgOM0EbEDUHx7oxz5P3AMxuBvj01FCx3pyPXN2oUVO8m9XWi9IJoFzBl6E4i7UQreuaR X-Received: by 10.66.237.4 with SMTP id uy4mr15445717pac.40.1405532504084; Wed, 16 Jul 2014 10:41:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.102 with SMTP id 93ls469222qgo.10.gmail; Wed, 16 Jul 2014 10:41:43 -0700 (PDT) X-Received: by 10.52.246.11 with SMTP id xs11mr3483809vdc.96.1405532503948; Wed, 16 Jul 2014 10:41:43 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id py4si9175856vcb.49.2014.07.16.10.41.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 10:41:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so2316055vcb.40 for ; Wed, 16 Jul 2014 10:41:43 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr31908117vcb.0.1405532503859; Wed, 16 Jul 2014 10:41:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp317818vcb; Wed, 16 Jul 2014 10:41:43 -0700 (PDT) X-Received: by 10.70.98.167 with SMTP id ej7mr31171832pdb.70.1405532502488; Wed, 16 Jul 2014 10:41:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pb2si5206972pac.28.2014.07.16.10.41.42; Wed, 16 Jul 2014 10:41:42 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934647AbaGPRll (ORCPT + 3 others); Wed, 16 Jul 2014 13:41:41 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:60964 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932418AbaGPRlk (ORCPT ); Wed, 16 Jul 2014 13:41:40 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6GHfdtQ013061 for ; Wed, 16 Jul 2014 12:41:39 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6GHfdTm030461 for ; Wed, 16 Jul 2014 12:41:39 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Wed, 16 Jul 2014 12:41:39 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6GHfckg012400; Wed, 16 Jul 2014 12:41:38 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Felipe Balbi Subject: [PATCH 2/3] usb: gadget: udc: net2280: fix sparse error Date: Wed, 16 Jul 2014 12:41:29 -0500 Message-ID: <1405532490-12625-2-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.1.563.g66f467c In-Reply-To: <1405532490-12625-1-git-send-email-balbi@ti.com> References: <1405532490-12625-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , No functional changes, just fixing one easy to spot sparse error. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc/net2280.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 248dccb..f4eac11 100644 --- a/drivers/usb/gadget/udc/net2280.c +++ b/drivers/usb/gadget/udc/net2280.c @@ -2159,7 +2159,7 @@ static void usb_reinit_338x(struct net2280 *dev) if (dev->enhanced_mode) { ep->cfg = &dev->epregs[ne[i]]; ep->regs = (struct net2280_ep_regs __iomem *) - (((void *)&dev->epregs[ne[i]]) + + (((void __iomem *)&dev->epregs[ne[i]]) + ep_reg_addr[i]); ep->fiforegs = &dev->fiforegs[i]; } else {