From: Maarten Blomme <maartenblomme@gmail.com>
To: f.fainelli@gmail.com
Cc: netdev@vger.kernel.org, "Blomme, Maarten" <Maarten.Blomme@flir.com>
Subject: [PATCH 1/2] spi_ks8995: fix "BUG: key accdaa28 not in .data!"
Date: Thu, 2 Mar 2017 13:08:36 +0100 [thread overview]
Message-ID: <1488456516-30075-1-git-send-email-maartenblomme@gmail.com> (raw)
From: "Blomme, Maarten" <Maarten.Blomme@flir.com>
Signed-off-by: Maarten Blomme <Maarten.Blomme@flir.com>
---
drivers/net/phy/spi_ks8995.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/spi_ks8995.c
index 93ffedf..aa7209d 100644
--- a/drivers/net/phy/spi_ks8995.c
+++ b/drivers/net/phy/spi_ks8995.c
@@ -498,6 +498,7 @@ static int ks8995_probe(struct spi_device *spi)
if (err)
return err;
+ sysfs_attr_init(&ks->regs_attr.attr);
err = sysfs_create_bin_file(&spi->dev.kobj, &ks->regs_attr);
if (err) {
dev_err(&spi->dev, "unable to create sysfs file, err=%d\n",
--
2.7.4
reply other threads:[~2017-03-02 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488456516-30075-1-git-send-email-maartenblomme@gmail.com \
--to=maartenblomme@gmail.com \
--cc=Maarten.Blomme@flir.com \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).