Re: [PATCH net-next 19/19] mtty: Optionally support mtty alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu,  7 Nov 2019 10:08:34 -0600
Parav Pandit <parav@xxxxxxxxxxxx> wrote:

> Provide a module parameter to set alias length to optionally generate
> mdev alias.
> 
> Example to request mdev alias.
> $ modprobe mtty alias_length=12
> 
> Make use of mtty_alias() API when alias_length module parameter is set.
> 
> Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx>
> ---
>  samples/vfio-mdev/mtty.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

If you already have code using the alias interface, you probably don't
need to add it to the sample driver here. Especially as the alias looks
kind of pointless here.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux