From patchwork Sat Jul 14 16:33:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Aring X-Patchwork-Id: 10524763 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 93DD1602B3 for ; Sat, 14 Jul 2018 16:33:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 836A028B4F for ; Sat, 14 Jul 2018 16:33:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 757F428B47; Sat, 14 Jul 2018 16:33:17 +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 1F05C28B47 for ; Sat, 14 Jul 2018 16:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728135AbeGNQww (ORCPT ); Sat, 14 Jul 2018 12:52:52 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:42082 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728061AbeGNQww (ORCPT ); Sat, 14 Jul 2018 12:52:52 -0400 Received: by mail-io0-f195.google.com with SMTP id g11-v6so611906ioq.9 for ; Sat, 14 Jul 2018 09:33:16 -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=s4yttyiN6cQoEnLlHrOpNqhKb3mwtpDTiIVHLbpO1yA=; b=OOlgLECeWbKDrB6nXVgTijIxm23sZcmD6xj98f4/YiqsN7tLZHR1XNmhTTPnEyZc4S OUHz5bg9LOhxJZzKIBvmCt8fO+JC6OiyMLVpv4khGP/G1+AWRiJX1KBm4p8rVfKEb1bs Kxg8Ur0BS9GRqhVYfC13l1Mpw4weZjGIzTOjl5WQxCWH3lgmjGoHrZxy48TpJ+n3zX42 ElwvaCyDZpYb9fMTRD6bUW2uopRgK1+4Y2nXH3FwbnTLJDqgthQ2RFZRIlXkKySEkCX3 KVmYbZlNyR5hwWI/8V9Vc9DJFfKl5YdfYLnr5A0rTC8wNF5z38NCnLaIyr832RQ1FT9q AZFg== 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=s4yttyiN6cQoEnLlHrOpNqhKb3mwtpDTiIVHLbpO1yA=; b=NeoDRYJ0C+UZEev6r2Esd04cAOnl0/KwgELwwl7P6sYO4PkOBxO3KD6POpqRRvVKpt lo6taq3K/E9ofTPq0k2pJqYrrlw983arAcWvW66WTu+VWxJUIrSqFqbcNhMiGSewWu7+ iw1Vjk+FwXPUV/r+oViyqfC1f82AxjGTljnaIIMf3D6tvlbNEhVslwBMqe6FIBSJIHYu GvCsFDZz4QvQmtk2hCl66u+DGX48UXIJUgbFVYC9u5voDBDRZS/Z33GvdOUtWNBcQPrO vLqdla6Bn0nX6FzgAwrOHfZZYhKisDgO6tWeDdFCfs+0xcJwbzjeplnTamQK+bw9xM6b nimQ== X-Gm-Message-State: AOUpUlHKIeNj3nC+bZ0xVYteZsBBDKySQTuw63yxDWorUEEi+dpHKybe 9aLtgJD2QZ/yGE81nWLxXNHL7/HL X-Google-Smtp-Source: AAOMgpcyVOBPlIAEU67mJyWEpSPfxTlBrbEThPGHoDXT2BU/oeTR/2pwvu93xmOOPmhoHsqdlezY0A== X-Received: by 2002:a5e:8618:: with SMTP id z24-v6mr34724861ioj.67.1531585996067; Sat, 14 Jul 2018 09:33:16 -0700 (PDT) Received: from localhost.localdomain (ecp01.openface.ca. [207.115.96.130]) by smtp.gmail.com with ESMTPSA id a144-v6sm5042277itd.4.2018.07.14.09.33.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Jul 2018 09:33:15 -0700 (PDT) From: Alexander Aring To: stefan@osg.samsung.com Cc: linux-wpan@vger.kernel.org, Alexander Aring Subject: [PATCHv2 wpan-next 2/2] ieee802154: fakelb: add deprecated msg while probe Date: Sat, 14 Jul 2018 12:33:06 -0400 Message-Id: <20180714163306.5629-3-aring@mojatatu.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180714163306.5629-1-aring@mojatatu.com> References: <20180714163306.5629-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..3136278b10be 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!\n"); + return platform_driver_register(&ieee802154fake_driver); }