Re: [PATCH 1/2] usb: phy: Add initial support for Qualcomm HSIC PHY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test WARNING on balbi-usb/next]
[also build test WARNING on v4.7-rc3 next-20160617]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Neil-Armstrong/usb-phy-Add-support-for-the-Qualcomm-HSIC-USB-PHY/20160617-183519
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   drivers/usb/phy/phy-qcom-hsic-usb.c: In function 'ulpi_read':
>> drivers/usb/phy/phy-qcom-hsic-usb.c:106:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       readl(USB_ULPI_VIEWPORT));
       ^

vim +106 drivers/usb/phy/phy-qcom-hsic-usb.c

    90		int cnt = 0;
    91	
    92		/* initiate read operation */
    93		writel(ULPI_RUN | ULPI_READ | ULPI_ADDR(reg),
    94		       USB_ULPI_VIEWPORT);
    95	
    96		/* wait for completion */
    97		while (cnt < ULPI_IO_TIMEOUT_USEC) {
    98			if (!(readl(USB_ULPI_VIEWPORT) & ULPI_RUN))
    99				break;
   100			udelay(1);
   101			cnt++;
   102		}
   103	
   104		if (cnt >= ULPI_IO_TIMEOUT_USEC) {
   105			dev_err(phy->dev, "ulpi_read: timeout %08x\n",
 > 106				readl(USB_ULPI_VIEWPORT));
   107			return -ETIMEDOUT;
   108		}
   109		return ULPI_DATA_READ(readl(USB_ULPI_VIEWPORT));
   110	}
   111	
   112	static int ulpi_write(struct usb_phy *phy, u32 val, u32 reg)
   113	{
   114		struct phy_hsic *qphy = container_of(phy, struct phy_hsic, phy);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux