lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1496059045-13572-5-git-send-email-stefan.wahren@i2se.com> Date: Mon, 29 May 2017 13:57:12 +0200 From: Stefan Wahren <stefan.wahren@...e.com> To: Rob Herring <robh+dt@...nel.org>, Mark Rutland <mark.rutland@....com>, "David S. Miller" <davem@...emloft.net> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Jiri Slaby <jslaby@...e.com>, Lino Sanfilippo <LinoSanfilippo@....de>, Jakub Kicinski <kubakici@...pl>, devicetree@...r.kernel.org, netdev@...r.kernel.org, linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org, Stefan Wahren <stefan.wahren@...e.com> Subject: [PATCH v8 net-next 04/17] net: qca_spi: Use SET_NETDEV_DEV() Use SET_NETDEV_DEV() in qca_spi to create the "/sys/class/net/<if>/device" symlink. Signed-off-by: Stefan Wahren <stefan.wahren@...e.com> --- drivers/net/ethernet/qualcomm/qca_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net/ethernet/qualcomm/qca_spi.c index 24ca7df..0c3fdee 100644 --- a/drivers/net/ethernet/qualcomm/qca_spi.c +++ b/drivers/net/ethernet/qualcomm/qca_spi.c @@ -894,6 +894,7 @@ qca_spi_probe(struct spi_device *spi) return -ENOMEM; qcaspi_netdev_setup(qcaspi_devs); + SET_NETDEV_DEV(qcaspi_devs, &spi->dev); qca = netdev_priv(qcaspi_devs); if (!qca) { -- 2.1.4
Powered by blists - more mailing lists