Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1336775
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] workqueue: Replace usage of init_name with dev_set_name() |
| Date | 2016-02-17 22:20 +0100 |
| Message-ID | <r3hFV-3GO-29@gated-at.bofh.it> (permalink) |
| References | <r3gTw-36M-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Feb 17, 2016 at 09:04:41PM +0100, Lars-Peter Clausen wrote: > The init_name property of the device struct is sort of a hack and should > only be used for statically allocated devices. Since the device is > dynamically allocated here it is safe to use the proper way to set a > devices name by calling dev_set_name(). > > Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Applied to wq/for-4.6. Thanks. -- tejun
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] workqueue: Replace usage of init_name with dev_set_name() Lars-Peter Clausen <lars@metafoo.de> - 2016-02-17 21:30 +0100 Re: [PATCH] workqueue: Replace usage of init_name with dev_set_name() Tejun Heo <tj@kernel.org> - 2016-02-17 22:20 +0100
csiph-web