Skip to contentSkip to conversation

hgafb: needs a release function

DISCUSSION Randy Dunlap 1 participant 1 message Oct 17, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

(no hga device, that part is correct)

hgafb: HGA card not detected.
hgafb: probe of hgafb.0 failed with error -22
Device 'hgafb.0' does not have a release() function, it is broken and must be fixed.

WARNING: at drivers/base/core.c:107 device_release()

Call Trace:
 [<ffffffff80321f2c>] kobject_put+0x19/0x1b
 [<ffffffff803a770d>] device_release+0x83/0x85
 [<ffffffff80321f66>] kobject_cleanup+0x38/0x67
 [<ffffffff80321f95>] kobject_release+0x0/0xf
 [<ffffffff80321fa2>] kobject_release+0xd/0xf
 [<ffffffff80322ec2>] kref_put+0x5f/0x6b
 [<ffffffff80321f2c>] kobject_put+0x19/0x1b
 [<ffffffff803a7855>] put_device+0x15/0x17
 [<ffffffff803ac260>] platform_device_put+0x12/0x14
 [<ffffffff803ac2df>] platform_device_unregister+0x19/0x1e
 [<ffffffff8810b458>] :hgafb:hgafb_exit+0x10/0x1e
 [<ffffffff80258eec>] sys_delete_module+0x1b5/0x1e6
 [<ffffffff8020ef44>] syscall_trace_enter+0x95/0x99
 [<ffffffff8020beec>] tracesys+0xdc/0xe1

See Documentation/driver-model/{device.txt,porting.txt} for some info, although more doc for this particular requirement is needed.

---
~Randy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/