From patchwork Wed Apr 30 16:38:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 29436 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8DA40203F3 for ; Wed, 30 Apr 2014 16:39:02 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp4sf10171096obc.0 for ; Wed, 30 Apr 2014 09:39:02 -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 :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 :content-transfer-encoding; bh=XB0N001rmq0JwE1hh+jvqMWQHFVel8fQM5G5TDi5QKE=; b=L4Wftf5vEtn0Y9lLU+QCWhtfYhSvOuXRCfxU4BjZw9yM0XMV4gdI/1MjilkEPeq83X yj2BFq2VG8IydJst7joJZ6+WPXSMNETh3eVGs+xya76h/WB9dEeNNHN7x6styHSzWTr1 1tFocBTg8/7JmkhFKeoc/dDkAYIs4KP54GSbUGnpC6idZMNkVb0RKsYe8LarfTfvGnf7 5MiCi2U0tIsZIRA2aHWpuqKxxEujd0VWxu1iK13qxDVeWuTi+lD3rcRvQioIQus4sU+n 1x6vdF55207ZQhJzOVj+jFVqORjgZnkbRpLQ6imR/4yi0hieQWZNQYkE8rG+ncXUIsBq AbAw== X-Gm-Message-State: ALoCoQnGgFIuYuHdIIl13T9Us/s9zpViDAt6PYDd4baEx4aMrPXgDRhbUn3EqZ691NIrQQYIETuZ X-Received: by 10.42.39.210 with SMTP id i18mr2650698ice.19.1398875942105; Wed, 30 Apr 2014 09:39:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.100 with SMTP id o91ls707805qgd.30.gmail; Wed, 30 Apr 2014 09:39:02 -0700 (PDT) X-Received: by 10.52.166.18 with SMTP id zc18mr539369vdb.65.1398875941978; Wed, 30 Apr 2014 09:39:01 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id dq1si5445535vcb.41.2014.04.30.09.39.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 09:39:01 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ld13so2573577vcb.30 for ; Wed, 30 Apr 2014 09:39:01 -0700 (PDT) X-Received: by 10.220.113.11 with SMTP id y11mr833514vcp.40.1398875941891; Wed, 30 Apr 2014 09:39:01 -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.220.221.72 with SMTP id ib8csp293790vcb; Wed, 30 Apr 2014 09:39:01 -0700 (PDT) X-Received: by 10.50.1.5 with SMTP id 5mr39546424igi.13.1398875941209; Wed, 30 Apr 2014 09:39:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si4351122igf.48.2014.04.30.09.38.56; Wed, 30 Apr 2014 09:38:56 -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 S1945956AbaD3Qiu (ORCPT + 3 others); Wed, 30 Apr 2014 12:38:50 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:37814 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422650AbaD3Qit (ORCPT ); Wed, 30 Apr 2014 12:38:49 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3UGcio8025679; Wed, 30 Apr 2014 11:38:44 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3UGcitm007340; Wed, 30 Apr 2014 11:38:44 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 30 Apr 2014 11:38:44 -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 s3UGch29018700; Wed, 30 Apr 2014 11:38:44 -0500 From: Felipe Balbi To: CC: , , Linux USB Mailing List , Felipe Balbi Subject: [PATCH 1/3] usb: phy: msm: cast to unsigned long int Date: Wed, 30 Apr 2014 11:38:34 -0500 Message-ID: <1398875916-14461-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.0.rc1 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=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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: , this solves the following build warning found when running compile tests. drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_read_dt’: drivers/usb/phy/phy-msm-usb.c:1459:20: warning: cast from pointer \ to integer of different size [-Wpointer-to-int-cast] pdata->phy_type = (int) id->data; ^ Signed-off-by: Felipe Balbi --- all patches are on top of Ivan's 20 patch series. drivers/usb/phy/phy-msm-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index 9dc7918..c9963c8 100644 --- a/drivers/usb/phy/phy-msm-usb.c +++ b/drivers/usb/phy/phy-msm-usb.c @@ -1456,7 +1456,7 @@ static int msm_otg_read_dt(struct platform_device *pdev, struct msm_otg *motg) motg->pdata = pdata; id = of_match_device(msm_otg_dt_match, &pdev->dev); - pdata->phy_type = (int) id->data; + pdata->phy_type = (unsigned long int) id->data; motg->link_rst = devm_reset_control_get(&pdev->dev, "link"); if (IS_ERR(motg->link_rst))