• Dongjin Kim's avatar
    media/rc: Fix taint warning when driver is loaded · c428c5cf
    Dongjin Kim authored
    ------------[ cut here ]------------
    WARNING: CPU: 7 PID: 1772 at drivers/base/dd.c:286 driver_probe_device+0x254/0x2b4()
    Modules linked in: gpioplug_ir_recv(+) gpio_ir_recv rc_core fbtft_device(C) fbtft(C) syscs
    CPU: 7 PID: 1772 Comm: modprobe Tainted: G         C 4.2.0-rc1+ #10
    Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
    [<c0015824>] (unwind_backtrace) from [<c0012798>] (show_stack+0x10/0x14)
    [<c0012798>] (show_stack) from [<c0512fe0>] (dump_stack+0x84/0xc4)
    [<c0512fe0>] (dump_stack) from [<c0028ef8>] (warn_slowpath_common+0x80/0xb0)
    [<c0028ef8>] (warn_slowpath_common) from [<c0028fc4>] (warn_slowpath_null+0x1c/0x24)
    [<c0028fc4>] (warn_slowpath_null) from [<c0362318>] (driver_probe_device+0x254/0x2b4)
    [<c0362318>] (driver_probe_device) from [<c0360878>] (bus_for_each_drv+0x60/0x94)
    [<c0360878>] (bus_for_each_drv) from [<c0362054>] (__device_attach+0x8c/0xd8)
    [<c0362054>] (__device_attach) from [<c03617a4>] (bus_probe_device+0x84/0x8c)
    [<c03617a4>] (bus_probe_device) from [<c035fb90>] (device_add+0x3e8/0x570)
    [<c035fb90>] (device_add) from [<c0363c80>] (platform_device_add+0x84/0x188)
    [<c0363c80>] (platform_device_add) from [<bf03f09c>] (gpio_init+0x9c/0xfc [gpioplug_ir_re)
    [<bf03f09c>] (gpio_init [gpioplug_ir_recv]) from [<c0009710>] (do_one_initcall+0x8c/0x1d4)
    [<c0009710>] (do_one_initcall) from [<c051236c>] (do_init_module+0x5c/0x1cc)
    [<c051236c>] (do_init_module) from [<c008eb4c>] (load_module+0x164c/0x1e08)
    [<c008eb4c>] (load_module) from [<c008f49c>] (SyS_finit_module+0x68/0x78)
    [<c008f49c>] (SyS_finit_module) from [<c000f500>] (ret_fast_syscall+0x0/0x3c)
    ---[ end trace 5040610fa9a8c931 ]---
    
    Change-Id: If08f987033d521d85f3aaff50fd90c506eea5e0d
    Signed-off-by: 's avatarDongjin Kim <tobetter@gmail.com>
    c428c5cf
gpioplug-ir-recv.c 2.39 KB