From patchwork Fri Apr 27 21:21:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Aring X-Patchwork-Id: 10369857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32401601BE for ; Fri, 27 Apr 2018 21:22:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24E2C294C8 for ; Fri, 27 Apr 2018 21:22:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19E00294F3; Fri, 27 Apr 2018 21:22:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99FD9294C8 for ; Fri, 27 Apr 2018 21:22:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759081AbeD0VWI (ORCPT ); Fri, 27 Apr 2018 17:22:08 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:45126 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759114AbeD0VWG (ORCPT ); Fri, 27 Apr 2018 17:22:06 -0400 Received: by mail-io0-f193.google.com with SMTP id r22-v6so4008659ioc.12 for ; Fri, 27 Apr 2018 14:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=S9uJotUIKY3i3IyDH+UhPNIINAIkwT/RXbHF5oQdtkw=; b=gV897635bxkF73g3ziccIdpmf4tZmnpREBJ4U6xHyQCY3+vtSf2WTmBpf4cXVTrMyy BfuRT3prndyGTvn8jbReq4RE7bPeBChkC/8u2GO2qxgFvA9F/AM20nP3hVdl56bQvGoF 0EHi7m+RTuq69XN8+9qAgiZVQYq983Q03aY5ccHIf5BP1a7HlWNfRviDvtxCZybqfU8Z 5ElSY9P2n2mka4+sN1+nJmZYP4aHMFEiQ9qcxDh6JQyrTPexVe1ScNbvyDjvSrRmvK7+ NCfNsg+zd1ZfXzIj0XPWQVEWIQ6QpuRHgI/bCrtYhI48UzCY8ZVDDN/Itew2yNfzk+dD bAZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=S9uJotUIKY3i3IyDH+UhPNIINAIkwT/RXbHF5oQdtkw=; b=U1M+yw/UuCTSaLJxfaBiolgakDHo7GV3/5+22hjgkbqnRMFqN1DPa9PXuOOIgUx/9b 3OSLmFAff3SWIaf7ny6VGrOScaKivs/WvYBqE+a3cTB2RwAMQlwXcZZ2I5bsfQREBWhx o9zRv168x8ZaC+rr70JMhXOyOPldc6xknXQT+QmOy0sIr2FF3Ns3MvlLz63X2IjNHaHO pZfCMyt74ESfkF4UacCRbdwspiapx4Ixiu9dnfdHYDdMmR7/nwe7xWGkTaXQUQW2mPoY Ixp15tjMqQZ906JuLBUhTW7e9+dfnQ/GN0BrUEDc4YvccKgw5jppc1RFaCO/ylnaL1TO DZZQ== X-Gm-Message-State: ALQs6tB9sGAV6QyCzATleFVtOX5tkkTbYtvjmkoUrjfQYdLA0bh/64Tx Q6t7OOPdr0slqfaFyx/uKaZPIg== X-Google-Smtp-Source: AB8JxZrws1B//xtEJBZxSfXKXoA9HuxrG0BhIOIVGv9FBBvXlzfXigeik/NLxdUFX2BEUxIkuEtoCw== X-Received: by 2002:a6b:a9d1:: with SMTP id f78-v6mr3738065ioj.277.1524864126130; Fri, 27 Apr 2018 14:22:06 -0700 (PDT) Received: from x220t.lan ([64.26.149.125]) by smtp.gmail.com with ESMTPSA id d2-v6sm1036350ioj.78.2018.04.27.14.22.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 14:22:05 -0700 (PDT) From: Alexander Aring To: stefan@osg.samsung.com Cc: linux-wpan@vger.kernel.org, kernel@mojatatu.com, Alexander Aring Subject: [RFC PATCH wpan-next 2/2] ieee802154: fakelb: add deprecated msg while probe Date: Fri, 27 Apr 2018 17:21:54 -0400 Message-Id: <20180427212154.29582-3-aring@mojatatu.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180427212154.29582-1-aring@mojatatu.com> References: <20180427212154.29582-1-aring@mojatatu.com> Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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); }