Thread (1 message) 1 message, 1 author, 2017-02-22

[rtc-linux] Re: [PATCH 07/14] infiniband: utilize new device_add_cdev helper function

From: Lars-Peter Clausen <lars@metafoo.de>
Date: 2017-02-22 08:18:04
Also in: linux-fsdevel, linux-gpio, linux-input, linux-rdma, linux-scsi, nvdimm

On 02/22/2017 12:54 AM, Logan Gunthorpe wrote:
[...]
quoted
Ah, this needs more help. Once device_initialize is called put_device
should be the error-unwind, can you use something more like this?
Is that true? Once device_register or device_add is called then you need
to use put_device. [...]
device_initialize() documentation:

	NOTE: Use put_device() to give up your reference instead of freeing
	@dev directly once you have called this function.


-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help