Messages in this thread | | | Date | Sat, 10 Sep 2016 02:27:15 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH v2] usb: dwc3: OCTEON: add support for device tree |
| |
Hi Steven,
[auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Steven-J-Hill/usb-dwc3-OCTEON-add-support-for-device-tree/20160910-003135 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/usb/dwc3/dwc3-octeon.c: In function 'dwc3_octeon_probe': >> drivers/usb/dwc3/dwc3-octeon.c:61:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] octeon->index = ((u64)octeon->usbctl >> 24) & 1; ^
vim +61 drivers/usb/dwc3/dwc3-octeon.c
45 * "dma-ranges" or "dma-coherent" properties. 46 */ 47 ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(64)); 48 if (ret) 49 return ret; 50 51 platform_set_drvdata(pdev, octeon); 52 octeon->dev = dev; 53 54 /* Resources for lower level OCTEON USB control. */ 55 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 56 octeon->usbctl = devm_ioremap_resource(dev, res); 57 if (IS_ERR(octeon->usbctl)) 58 return PTR_ERR(octeon->usbctl); 59 60 /* Controller index. */ > 61 octeon->index = ((u64)octeon->usbctl >> 24) & 1; 62 63 return 0; 64 } 65 66 static const struct of_device_id octeon_dwc3_match[] = { 67 { .compatible = "cavium,octeon-7130-usb-uctl", }, 68 {}, 69 };
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/octet-stream] | |