From: Jean-Jacques Hiblot Date: Tue, 17 Apr 2018 20:35:14 +0200 Subject: [U-Boot] u-boot-usb/master build failure on dra7xx_evm In-Reply-To: <3da07763-ee84-a27f-74cb-b8e37c133e62@gmail.com> References: <3da07763-ee84-a27f-74cb-b8e37c133e62@gmail.com> Message-ID: <9ee9682f-c2f9-9e7e-13e0-5155d9a4b8eb@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Hi Marek, that should be fixed by applying https://patchwork.ozlabs.org/patch/897532/ JJ On 17/04/2018 20:25, Marek Vasut wrote: > Hi, > > can you look at this build problem in u-boot-usb/master on dra7xx_evm > and send me a patch? > > https://travis-ci.org/marex/u-boot-usb/jobs/367566783 > > u-boot-usb$ bu dra7xx_evm > In file included from drivers/usb/host/dwc3-of-simple.c:17:0: > include/reset.h:246:62: warning: ‘struct clk_bulk’ declared inside > parameter list will not be visible outside of this definition or declaration > static inline int reset_get_bulk(struct udevice *dev, struct clk_bulk > *bulk) > ^~~~~~~~ > include/reset.h:287:45: warning: ‘struct clk_bulk’ declared inside > parameter list will not be visible outside of this definition or declaration > static inline int reset_release_bulk(struct clk_bulk *bulk) > ^~~~~~~~ > drivers/usb/host/dwc3-of-simple.c: In function ‘dwc3_of_simple_reset_init’: > drivers/usb/host/dwc3-of-simple.c:32:28: warning: passing argument 2 of > ‘reset_get_bulk’ from incompatible pointer type > [-Wincompatible-pointer-types] > ret = reset_get_bulk(dev, &simple->resets); > ^ > In file included from drivers/usb/host/dwc3-of-simple.c:17:0: > include/reset.h:246:19: note: expected ‘struct clk_bulk *’ but argument > is of type ‘struct reset_ctl_bulk *’ > static inline int reset_get_bulk(struct udevice *dev, struct clk_bulk > *bulk) > ^~~~~~~~~~~~~~ > drivers/usb/host/dwc3-of-simple.c:40:22: warning: passing argument 1 of > ‘reset_release_bulk’ from incompatible pointer type > [-Wincompatible-pointer-types] > reset_release_bulk(&simple->resets); > ^ > In file included from drivers/usb/host/dwc3-of-simple.c:17:0: > include/reset.h:287:19: note: expected ‘struct clk_bulk *’ but argument > is of type ‘struct reset_ctl_bulk *’ > static inline int reset_release_bulk(struct clk_bulk *bulk) > ^~~~~~~~~~~~~~~~~~ > drivers/usb/host/dwc3-of-simple.c: In function ‘dwc3_of_simple_remove’: > drivers/usb/host/dwc3-of-simple.c:89:21: warning: passing argument 1 of > ‘reset_release_bulk’ from incompatible pointer type > [-Wincompatible-pointer-types] > reset_release_bulk(&simple->resets); > ^ > In file included from drivers/usb/host/dwc3-of-simple.c:17:0: > include/reset.h:287:19: note: expected ‘struct clk_bulk *’ but argument > is of type ‘struct reset_ctl_bulk *’ > static inline int reset_release_bulk(struct clk_bulk *bulk) >