All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <aring@mojatatu.com>
To: stefan@osg.samsung.com
Cc: linux-wpan@vger.kernel.org, kernel@mojatatu.com,
	Alexander Aring <aring@mojatatu.com>
Subject: [RFC PATCH wpan-next 2/2] ieee802154: fakelb: add deprecated msg while probe
Date: Fri, 27 Apr 2018 17:21:54 -0400	[thread overview]
Message-ID: <20180427212154.29582-3-aring@mojatatu.com> (raw)
In-Reply-To: <20180427212154.29582-1-aring@mojatatu.com>

Since mac802154_hwsim the fakelb driver will get deprecated. This patch will
notifier all users of fakelb to switch to the new mac802154_hwsim driver.

Signed-off-by: Alexander Aring <aring@mojatatu.com>
---
 drivers/net/ieee802154/fakelb.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c
index 0d673f7682ee..d44cc27a13c7 100644
--- a/drivers/net/ieee802154/fakelb.c
+++ b/drivers/net/ieee802154/fakelb.c
@@ -254,6 +254,9 @@ static __init int fakelb_init_module(void)
 {
 	ieee802154fake_dev = platform_device_register_simple(
 			     "ieee802154fakelb", -1, NULL, 0);
+
+	pr_warn("fakelb driver is marked as deprecated, please use mac802154_hwsim!");
+
 	return platform_driver_register(&ieee802154fake_driver);
 }
 
-- 
2.11.0


  parent reply	other threads:[~2018-04-27 21:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27 21:21 [RFC PATCH wpan-next 0/2] ieee802154: hwsim: add hwsim driver Alexander Aring
2018-04-27 21:21 ` [RFC PATCH wpan-next 1/2] ieee802154: hwsim: add replacement for fakelb Alexander Aring
2018-05-07 14:00   ` Stefan Schmidt
2018-05-17 19:57     ` Alexander Aring
2018-05-14 14:29   ` Alexander Aring
2018-05-14 15:40     ` Stefan Schmidt
2018-05-17 20:29       ` Alexander Aring
2018-05-17 20:35         ` Alexander Aring
2018-04-27 21:21 ` Alexander Aring [this message]
2018-05-07 14:01   ` [RFC PATCH wpan-next 2/2] ieee802154: fakelb: add deprecated msg while probe Stefan Schmidt
2018-05-17 20:40   ` Alexander Aring

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=20180427212154.29582-3-aring@mojatatu.com \
    --to=aring@mojatatu.com \
    --cc=kernel@mojatatu.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=stefan@osg.samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.