Messages in this thread |  | | From | Bartosz Golaszewski <> | | Date | Wed, 8 Jul 2026 00:42:58 -0700 | | Subject | Re: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc() |
| |
On Tue, 7 Jul 2026 18:05:29 +0200, Andy Shevchenko <andriy.shevchenko@linux.intel.com> said: > On Mon, Jul 06, 2026 at 02:44:17PM +0200, Bartosz Golaszewski wrote: >> Users of platform_device_alloc() + platform_device_add() must not modify >> certain fields of the dynamically created platform device object. Update >> the kernel doc to say which fields are affected and which functions to >> use. > > Consider using __private checker attribute for them as well. It will make > sparse scream. >
Sure but let's leave it for another series.
Bart
|  |