Re: [PATCH v3 2/5] mdev: Make mdev alias unique among all mdevs

2019-09-17 Thread Cornelia Huck
On Sun, 1 Sep 2019 23:24:33 -0500 Parav Pandit wrote: > Mdev alias should be unique among all the mdevs, so that when such alias > is used by the mdev users to derive other objects, there is no > collision in a given system. > > Signed-off-by: Parav Pandit > > --- > Changelog: > v2->v3: > -

[PATCH v3 2/5] mdev: Make mdev alias unique among all mdevs

2019-09-01 Thread Parav Pandit
Mdev alias should be unique among all the mdevs, so that when such alias is used by the mdev users to derive other objects, there is no collision in a given system. Signed-off-by: Parav Pandit --- Changelog: v2->v3: - Changed strcmp() ==0 to !strcmp() v1->v2: - Moved alias NULL check at beginn