From patchwork Tue Oct 10 15:17:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xue Liu X-Patchwork-Id: 9996493 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 F40A4603B5 for ; Tue, 10 Oct 2017 15:17:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4AD01FF73 for ; Tue, 10 Oct 2017 15:17:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8B7C22A68; Tue, 10 Oct 2017 15:17:55 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 76AA91FF73 for ; Tue, 10 Oct 2017 15:17:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932293AbdJJPRy (ORCPT ); Tue, 10 Oct 2017 11:17:54 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36931 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932283AbdJJPRy (ORCPT ); Tue, 10 Oct 2017 11:17:54 -0400 Received: by mail-wm0-f68.google.com with SMTP id r68so13358077wmr.4 for ; Tue, 10 Oct 2017 08:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vAChYAVUjTSfZsP3SqygE7EXXCMrlBwWXFlkdJEB8IA=; b=rjQxUuQeQVDtoGVEsruSRsO6UKcbWsVm7OOb2eIPwEGZ+jPjQZ5l5gmpU/PGlf2lTo wlbJEF2ocW79RjERhkhtU7k2M9Ao/NqgUQyVSJCtBh1yxrjY8DHpA50/MDweHmhA2MD/ vXc74xE80zNwHMct2FGihe94+e2ddcRe2NDSYs0bGhzdn2ueGAJpEZ1HEa5sVYm7zAQr iQRYQl/J38qeCd2xgMXTt3CIrVebMKvXooYFKSK1GmPkYXMPyT902cJbelbwG1fJ8kXx pQPd7Y+wUhHRQe2ujAsArO+BXKuznf9dff4b/2O+VYkzchhcCCyGamG+o+9y54jbrLWC tVug== 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; bh=vAChYAVUjTSfZsP3SqygE7EXXCMrlBwWXFlkdJEB8IA=; b=GalxsmGpJIz2VeGCq1Hq1Fwak6iYSG+WikpK5rYhSyBPm/NRJdrcIdFxCQiMi3ORix gFZo8bgfLWGH1g7T3hKBJwERIjMpA2tpcqZAWNXxl5q4DbpAH2UwLH6wj/ZJ4mxqW/4G 1xQgnm32lDPOu2eYwjHAze3f1iP30D5UwHBX+X0tlO5Wh/R00xTZz7K69CIkZZuv7EAu 775m4Nbs+rSAmysTf8qNxHrCdZ/TE/u9MJYzv9fGTExYrucWqoxRlydFQmBBiG1QkzkM k/58QZ94X5vjHGp/0Jy4zEUqBs0ele4xZYMd9jBj/6g69sk99iYzKCqfHWGil8Q9Q0Fd 4Ypw== X-Gm-Message-State: AMCzsaWNg8KE24BvE7sS5BA7ZHYFaUELJGA7hFs6vVQrSQ90S5CRD46Q TkSUw0PDaOmEv0bQ9kVzGBokRQ== X-Google-Smtp-Source: AOwi7QAHXMm2Qmib/yIYLCdVxtSZOoh3ffLb+TN3u1QoHUbpOBMsoPATBAOUF276DarTbb67CdYILg== X-Received: by 10.80.173.37 with SMTP id y34mr17799413edc.193.1507648672588; Tue, 10 Oct 2017 08:17:52 -0700 (PDT) Received: from lx-DKS.dks-koeln.local (static-87-79-65-72.netcologne.de. [87.79.65.72]) by smtp.gmail.com with ESMTPSA id f9sm9971473ede.38.2017.10.10.08.17.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 08:17:51 -0700 (PDT) From: Xue Liu To: linux-wpan@vger.kernel.org Cc: Xue Liu Subject: [PATCH] 802154:netlink - fix typo of the name of struct genl_ops Date: Tue, 10 Oct 2017 17:17:45 +0200 Message-Id: <1507648665-14932-1-git-send-email-liuxuenetmail@gmail.com> X-Mailer: git-send-email 2.7.4 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 Signed-off-by: Xue Liu --- net/ieee802154/netlink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c index 6bde9e5..96636e3 100644 --- a/net/ieee802154/netlink.c +++ b/net/ieee802154/netlink.c @@ -89,7 +89,7 @@ int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info) return genlmsg_reply(msg, info); } -static const struct genl_ops ieee8021154_ops[] = { +static const struct genl_ops ieee802154_ops[] = { /* see nl-phy.c */ IEEE802154_DUMP(IEEE802154_LIST_PHY, ieee802154_list_phy, ieee802154_dump_phy), @@ -137,8 +137,8 @@ struct genl_family nl802154_family __ro_after_init = { .version = 1, .maxattr = IEEE802154_ATTR_MAX, .module = THIS_MODULE, - .ops = ieee8021154_ops, - .n_ops = ARRAY_SIZE(ieee8021154_ops), + .ops = ieee802154_ops, + .n_ops = ARRAY_SIZE(ieee802154_ops), .mcgrps = ieee802154_mcgrps, .n_mcgrps = ARRAY_SIZE(ieee802154_mcgrps), };