lkml.org 
[lkml]   [2018]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 071/165] usb: dwc3: Makefile: fix link error on randconfig
    Date
    4.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Felipe Balbi <felipe.balbi@linux.intel.com>

    [ Upstream commit de948a74ad6f0eefddf36d765b8f2dd6df82caa0 ]

    If building a kernel without FTRACE but with TRACING, dwc3.ko fails to
    link due to missing trace events. Fix this by using the correct
    Kconfig symbol on Makefile.

    Reported-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/usb/dwc3/Makefile | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/usb/dwc3/Makefile
    +++ b/drivers/usb/dwc3/Makefile
    @@ -6,7 +6,7 @@ obj-$(CONFIG_USB_DWC3) += dwc3.o

    dwc3-y := core.o

    -ifneq ($(CONFIG_FTRACE),)
    +ifneq ($(CONFIG_TRACING),)
    dwc3-y += trace.o
    endif


    \
     
     \ /
      Last update: 2018-05-24 13:11    [W:2.789 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site