All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mugunthan V N <mugunthanvnm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/10] drivers: usb: dwc3: remove devm_zalloc from linux_compact
Date: Mon, 18 Apr 2016 12:06:24 +0530	[thread overview]
Message-ID: <57148068.8080601@ti.com> (raw)
In-Reply-To: <CAPnjgZ3fR-vkBv0cjh3d2H5TCmufpP90FnM-_HYeLazepYu5NQ@mail.gmail.com>

On Friday 15 April 2016 07:43 PM, Simon Glass wrote:
> Hi Mugunthan,
> 
> On 15 March 2016 at 07:59, Tom Rini <trini@konsulko.com> wrote:
>>
>> On Tue, Mar 15, 2016 at 05:44:10PM +0530, Mugunthan V N wrote:
>>
>>> devm_zalloc() is already defined in dm/device.h header, so
>>> devm_zalloc can be removed from linux_compact.h beader file.
>>>
>>> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
>>
>> Reviewed-by: Tom Rini <trini@konsulko.com>
>>
>> --
>> Tom
> 
> Unfortunately I still cannot apply this as there are build errors. Can
> you please take a look and resend the entire series (along with the
> lonely patch) rebased to u-boot-dm/master?
> 
> 09: drivers: usb: dwc3: remove devm_zalloc from linux_compact
>        arm:  +   omap5_uevm
> +  omap = devm_kzalloc((struct udevice *)dev, sizeof(*omap), GFP_KERNEL);
> +  ^
> +       ^
> +drivers/usb/dwc3/built-in.o: In function `dwc3_omap_uboot_init':
> +build/../drivers/usb/dwc3/dwc3-omap.c:380: undefined reference to
> `devm_kzalloc'

I didn't get this error when I built, is this error with incremental build?

I tried this command "./tools/buildman/buildman -c 7 -v -C -j 32 arm"
but I am not seeing buildman does a test build for each commit, am I
missing something?

> +arm-unknown-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion
> fail /home/tony/buildall/src/binutils/bfd/elf32-arm.c:7696
> +arm-unknown-linux-gnueabi-ld.bfd: error: required section '.rel.plt'
> not found in the linker script
> +arm-unknown-linux-gnueabi-ld.bfd: final link failed: Invalid operation
> +make[1]: *** [u-boot] Error 1
> +make: *** [sub-make] Error 2
> w+../drivers/usb/dwc3/dwc3-omap.c: In function 'dwc3_omap_uboot_init':
> w+../drivers/usb/dwc3/dwc3-omap.c:380:2: warning: implicit declaration
> of function 'devm_kzalloc' [-Wimplicit-function-declaration]
> w+../drivers/usb/dwc3/dwc3-omap.c:380:7: warning: assignment makes
> pointer from integer without a cast
> 10: drivers: usb: dwc3-omap: move usb_gadget_handle_interrupts from
> board files to drivers
> -build/../drivers/usb/dwc3/dwc3-omap.c:380: undefined reference to
> `devm_kzalloc'
> +drivers/usb/dwc3/built-in.o: In function `usb_gadget_handle_interrupts':
> +:(.text.usb_gadget_handle_interrupts+0x0): multiple definition of
> `usb_gadget_handle_interrupts'
> +board/ti/omap5_uevm/built-in.o:build/../board/ti/omap5_uevm/evm.c:122:
> first defined here
> +:(.text.dwc3_omap_uboot_init+0xa): undefined reference to `devm_kzalloc'
> w-../drivers/usb/dwc3/dwc3-omap.c:380:2: warning: implicit declaration
> of function 'devm_kzalloc' [-Wimplicit-function-declaration]
> w-../drivers/usb/dwc3/dwc3-omap.c:380:7: warning: assignment makes
> pointer from integer without a cast
> w+../drivers/usb/dwc3/dwc3-omap.c:381:2: warning: implicit declaration
> of function 'devm_kzalloc' [-Wimplicit-function-declaration]
> w+../drivers/usb/dwc3/dwc3-omap.c:381:7: warning: assignment makes
> pointer from integer without a cast
> 11: am437x: board: do not register usb devices when CONFIG_DM_USB is defined
> 12: dra7xx: board: do not register usb devices when CONFIG_DM_USB is defined
> 13: drivers: usb: dwc3: add ti dwc3 misc driver for wrapper
> -  omap = devm_kzalloc((struct udevice *)dev, sizeof(*omap), GFP_KERNEL);
> -  ^
> -       ^
> -drivers/usb/dwc3/built-in.o: In function `dwc3_omap_uboot_init':
> -:(.text.dwc3_omap_uboot_init+0xa): undefined reference to `devm_kzalloc'
> -arm-unknown-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion
> fail /home/tony/buildall/src/binutils/bfd/elf32-arm.c:7696
> -arm-unknown-linux-gnueabi-ld.bfd: error: required section '.rel.plt'
> not found in the linker script
> -arm-unknown-linux-gnueabi-ld.bfd: final link failed: Invalid operation
> w-../drivers/usb/dwc3/dwc3-omap.c: In function 'dwc3_omap_uboot_init':
> w-../drivers/usb/dwc3/dwc3-omap.c:381:2: warning: implicit declaration
> of function 'devm_kzalloc' [-Wimplicit-function-declaration]
> w-../drivers/usb/dwc3/dwc3-omap.c:381:7: warning: assignment makes
> pointer from integer without a cast
> 14: drivers: usb: common: add support to get maximum speed from dt
> 15: drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support
>        arm:  +   odroid-xu3
> +board/samsung/common/built-in.o: In function `board_usb_cleanup':
> +build/../board/samsung/common/board.c:382: undefined reference to
> `dwc3_uboot_exit'
> +board/samsung/common/built-in.o: In function `usb_gadget_handle_interrupts':
> +build/../board/samsung/common/exynos5-dt.c:318: undefined reference
> to `dwc3_uboot_handle_interrupt'
> +board/samsung/common/built-in.o: In function `board_usb_init':
> +build/../board/samsung/common/exynos5-dt.c:335: undefined reference
> to `dwc3_uboot_init'
> +arm-unknown-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion
> fail /home/tony/buildall/src/binutils/bfd/elf32-arm.c:7696
> +arm-unknown-linux-gnueabi-ld.bfd: error: required section '.rel.plt'
> not found in the linker script
> +arm-unknown-linux-gnueabi-ld.bfd: final link failed: Invalid operation
> 16: am43xx: Add USB device boot support to SPL
> 

Oops, I forgot to run buildman test before submitting, will send v2 ASAP.

Regards
Mugunthan V N

  reply	other threads:[~2016-04-18  6:36 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 12:14 [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral Mugunthan V N
2016-03-15 12:14 ` [U-Boot] [PATCH 01/10] drivers: usb: dwc3: remove devm_zalloc from linux_compact Mugunthan V N
2016-03-15 13:59   ` Tom Rini
2016-04-15 14:13     ` Simon Glass
2016-04-18  6:36       ` Mugunthan V N [this message]
2016-04-18 14:38         ` Simon Glass
2016-03-15 12:14 ` [U-Boot] [PATCH 02/10] drivers: usb: dwc3-omap: move usb_gadget_handle_interrupts from board files to drivers Mugunthan V N
2016-03-15 14:00   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 03/10] am437x: board: do not register usb devices when CONFIG_DM_USB is defined Mugunthan V N
2016-03-15 14:00   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 04/10] dra7xx: " Mugunthan V N
2016-03-15 14:00   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 05/10] drivers: usb: dwc3: add ti dwc3 misc driver for wrapper Mugunthan V N
2016-03-15 14:01   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 06/10] drivers: usb: common: add support to get maximum speed from dt Mugunthan V N
2016-03-15 14:01   ` Tom Rini
2016-04-09 18:34   ` Simon Glass
2016-03-15 12:14 ` [U-Boot] [PATCH 07/10] drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model support Mugunthan V N
2016-03-15 14:02   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 08/10] am43xx: Add USB device boot support to SPL Mugunthan V N
2016-03-15 14:04   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 09/10] configs: am43xx: Add am43xx_evm_usbspl_defconfig Mugunthan V N
2016-03-15 14:05   ` Tom Rini
2016-03-15 12:14 ` [U-Boot] [PATCH 10/10] defconfig: am437x_sk_evm: enable usb driver model Mugunthan V N
2016-03-15 14:05   ` Tom Rini
2016-03-31 14:10 ` [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral Michal Simek
2016-03-31 15:11   ` Tom Rini
2016-03-31 15:24     ` Marek Vasut
2016-04-06 23:16       ` Simon Glass
2016-04-08 19:45         ` Tom Rini
2016-04-11 12:20           ` Simon Glass
2016-04-11 14:52             ` Mugunthan V N
2016-04-11 14:57               ` Simon Glass
2016-04-12 10:34                 ` Mugunthan V N
2016-12-20 14:04                   ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57148068.8080601@ti.com \
    --to=mugunthanvnm@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.