[PATCH 1/9] NVMe: Merge issue on character device bring-up
Keith Busch
keith.busch at intel.com
Thu Sep 5 18:21:01 EDT 2013
On Thu, 5 Sep 2013, John Utz wrote:
> What will happen when you go to create_cdev: if the character device already exists?
>
> Harmless? Or Not?
>
> Just curious.
>
> Tnx!
>
> johnu
Hi John,
The character device is created at the end of this pci_driver's 'probe'
routine and deleted on 'remove', so I don't think it is possible for
the character device to exist prior to the 'goto', right?
Thanks,
Keith
More information about the Linux-nvme
mailing list