diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-05-03 16:27:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-20 18:09:19 +0200 |
commit | bddb6876b6e40d9c787b04087bcb2de2cf044fb6 (patch) | |
tree | 17b080caa3347f94cee2f4ea6c62203a6acce625 /drivers/nfc/st-nci/st-nci.h | |
parent | fdec508104e768a64ac0a7d8571ceb52689deed2 (diff) |
s5p-mfc: Set device name for reserved memory region devs
commit 29debab0a94035a390801d1f177d171d014b7765 upstream.
The devices don't have a name set, so makes dev_name() returns NULL which
makes harder to identify the devices that are causing issues, for example:
WARNING: CPU: 2 PID: 616 at drivers/base/core.c:251 device_release+0x8c/0x90
Device '(null)' does not have a release() function, it is broken and must be fixed.
And after setting the device name:
WARNING: CPU: 0 PID: 591 at drivers/base/core.c:251 device_release+0x8c/0x90
Device 's5p-mfc-l' does not have a release() function, it is broken and must be fixed.
Fixes: 6e83e6e25eb4 ("[media] s5p-mfc: Fix kernel warning on memory init")
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nfc/st-nci/st-nci.h')
0 files changed, 0 insertions, 0 deletions