Hi,
On Fri, Jan 25, 2013 at 04:15:13PM +0800, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv
> head: a342da25a9a7f5a2f34030e5017043780a673cd1
> commit: 84c5bc80a75b8db64e890d035ee1469822b85438 [11/13] usb: otg: add an api
> to bind the usb controller and phy
> config: i386-randconfig-x425 (attached as .config)
>
> All warnings:
>
> In file included from include/linux/usb/otg.h:12:0,
> from drivers/usb/gadget/mv_udc_core.c:31:
> include/linux/usb/phy.h: In function 'usb_bind_phy':
> >> include/linux/usb/phy.h:194:2: warning: return makes integer from pointer
> >> without a cast [enabled by default]
>
> vim +194 include/linux/usb/phy.h
>
> 178 enum usb_phy_type type)
> 179 {
> 180 return NULL;
> 181 }
> 182
> 183 static inline void usb_put_phy(struct usb_phy *x)
> 184 {
> 185 }
> 186
> 187 static inline void devm_usb_put_phy(struct device *dev, struct
> usb_phy *x)
> 188 {
> 189 }
> 190
> 191 static inline int usb_bind_phy(const char *dev_name, u8 index,
> 192 const char *phy_dev_name)
> 193 {
> > 194 return NULL;
> 195 }
> 196 #endif
> 197
> 198 static inline int
> 199 usb_phy_set_power(struct usb_phy *x, unsigned mA)
> 200 {
> 201 if (x && x->set_power)
> 202 return x->set_power(x, mA);
>
> ---
> 0-DAY kernel build testing backend Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild Intel Corporationfixed and updated branch. Thank you -- balbi
signature.asc
Description: Digital signature
