Re: [PATCH 1/1] s390/pci: expose a PCI device's UID as its index

2021-04-17 Thread Viktor Mihajlovski
On 4/16/21 7:58 PM, K, Narendra wrote: -Original Message- From: Niklas Schnelle Sent: Thursday, April 15, 2021 12:55 PM To: Bjorn Helgaas Cc: K, Narendra; Viktor Mihajlovski; Stefan Raspl; Peter Oberparleiter; linux- net...@vger.kernel.org; linux-...@vger.kernel.org; linux- ker

Re: [RFC 1/1] s390/pci: expose a PCI device's UID as its index

2021-03-08 Thread Viktor Mihajlovski
On 3/8/21 8:02 AM, Niklas Schnelle wrote: On 3/7/21 9:46 PM, Krzysztof WilczyƄski wrote: Hi Niklas, [...] +static ssize_t index_show(struct device *dev, + struct device_attribute *attr, char *buf) +{ + struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); +