RE: [char-misc-next V2] mei: add device kind to sysfs

2020-07-28 Thread Winkler, Tomas
> > On Tue, Jul 28, 2020 at 09:28:36PM +0300, Tomas Winkler wrote: > > +/** > > + * kind_show - display device kind > > + * > > + * @device: device pointer > > + * @attr: attribute pointer > > + * @buf: char out buffer > > + * > > + * Return: number of the bytes printed into buf or error > > No

Re: [char-misc-next V2] mei: add device kind to sysfs

2020-07-28 Thread Greg Kroah-Hartman
On Tue, Jul 28, 2020 at 09:28:36PM +0300, Tomas Winkler wrote: > +/** > + * kind_show - display device kind > + * > + * @device: device pointer > + * @attr: attribute pointer > + * @buf: char out buffer > + * > + * Return: number of the bytes printed into buf or error No need for kernel doc for st

[char-misc-next V2] mei: add device kind to sysfs

2020-07-28 Thread Tomas Winkler
From: Alexander Usyskin Some of the mei device heads are not generic and have a specific purpose, we need to announce it to the user space so it is possible to detect the correct device node via matching attributes. Generic heads are marked as 'mei' while special purpose heads have their own nam