Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631327
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] usb: musb: don't mark of_dev_auxdata as initdata |
| Date | 2017-04-26 12:00 +0200 |
| Message-ID | <tArTP-yp-7@gated-at.bofh.it> (permalink) |
| References | <tAeWC-Q9-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Apr 25, 2017 at 10:04:53PM +0200, Arnd Bergmann wrote:
> The probe function is not __init since it can be called for deferred
> probing or when unbinding/rebinding the device, and therefore it must
> not reference objects in __initdata, as pointed out by this link
> time warning:
>
> WARNING: drivers/usb/musb/da8xx.o(.text+0x9d4): Section mismatch in reference from the function da8xx_probe() to the (unknown reference) .init.data:(unknown)
>
> This removes the annotation.
>
> Reported-by: Olof's autobuilder <olof@lixom.net>
> Fixes: d6299b6efbf6 ("usb: musb: Add support of CPPI 4.1 DMA controller to DA8xx")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Now applied as I think Bin is offline for a bit.
thanks,
greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] usb: musb: don't mark of_dev_auxdata as initdata Arnd Bergmann <arnd@arndb.de> - 2017-04-25 22:10 +0200 Re: [PATCH] usb: musb: don't mark of_dev_auxdata as initdata Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-26 12:00 +0200
csiph-web