From patchwork Fri Jul 30 14:41:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12411405 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15C70C43214 for ; Fri, 30 Jul 2021 14:42:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEC7660EFD for ; Fri, 30 Jul 2021 14:42:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239334AbhG3OmW (ORCPT ); Fri, 30 Jul 2021 10:42:22 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:44772 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239270AbhG3OmU (ORCPT ); Fri, 30 Jul 2021 10:42:20 -0400 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id E00773F22A for ; Fri, 30 Jul 2021 14:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627656134; bh=TbQaBsPvgLCz2s8QzntY35xkR7Vmp0dFUIMeahF8LO0=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CNeFH3vOjV4brfoqHjX2pf+QmrSaMsofYMDWz6YpRSkQUyIynlf+MGvlkCkAFsTn4 o/OXqYiQarMNUaVq/CuV8yr5KZ38PlThVoEZTkL29bh7NV/r3vT7h3JZlleBc1lbrT BD6B7GiAu+JTpn/E6XuXyDQzp3eh1L4v6EkIw8Hu+SOw/2r5/jaDtfy0rP5RKPFTjo xSf0k4xiysdQp64q2B4VW9hA7bweRs0gI17h4bISYyo9nM40+ge0nzYfeiuzVOofID 3w7bjSAEuzZhVgZY/wMLsl2kLfVIK/xgCUIurGFWdDjb4bGi67/OduIkBy5f79dPPi ADWS3CKeHZVzA== Received: by mail-ed1-f72.google.com with SMTP id s8-20020a0564020148b02903948b71f25cso4713019edu.4 for ; Fri, 30 Jul 2021 07:42:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TbQaBsPvgLCz2s8QzntY35xkR7Vmp0dFUIMeahF8LO0=; b=q3eJ6d2XgG+GsfXXLAWIYsR0orUCq0DvXw5H/gTROBlGtBcNnpX3AbPH22Boshb1Eo z5L5virKXY4dxx6JjH3q52estZ7lq5qQUVGknhY36D8NWU+qpDyAH29Oqjb25RbD56ET rAHb2Yp7I3Do4hs1a/DlY9QIwuUW7HH4wjGSEPxtsA4rccUOQ28srFgYUMk43WVkeNFy b1c8I80OozbrbpiIu+HkD+Wgva5TrDrnA5AGpfdVxrPyXOK7epwZXg0BkTLl8sM30vzV nvPn5Tl2shgLfSmK+7ciHo6bOiStpJyA2fTFwPOS4nNBUKg+6a8Q4oQe8zzvV7AOzPUz gSxw== X-Gm-Message-State: AOAM532ysoA8puuBYS1x8dZ/mU0pR2bFIoGqBEegyLzg5yWLshnIp1Ga Q5nfezGMScZRM2G5GFFHiwfNqZ5ogZMdlFK8T9mpubg9qQcc3MC9lvHKR3pATrPavIm/Y/Xtwal laRJhGwdJbHPcvLMKgzqhijC1WfTLNmbjlg== X-Received: by 2002:a17:906:86c4:: with SMTP id j4mr2848908ejy.431.1627656134597; Fri, 30 Jul 2021 07:42:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8Klnq9CtuMrsD3GihuUGntFuHCAKTpSOD1rOEbMDFczVq69hHakiLNzSMjrVWjMVMmOkKUQ== X-Received: by 2002:a17:906:86c4:: with SMTP id j4mr2848887ejy.431.1627656134331; Fri, 30 Jul 2021 07:42:14 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id z8sm626325ejd.94.2021.07.30.07.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 07:42:13 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , "David S. Miller" , Jakub Kicinski , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/7] nfc: annotate af_nfc_exit() as __exit Date: Fri, 30 Jul 2021 16:41:57 +0200 Message-Id: <20210730144202.255890-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210730144202.255890-1-krzysztof.kozlowski@canonical.com> References: <20210730144202.255890-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The af_nfc_exit() is used only in other __exit annotated context (nfc_exit()). Signed-off-by: Krzysztof Kozlowski --- net/nfc/af_nfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/af_nfc.c b/net/nfc/af_nfc.c index 4a9e72073564..6024fad905ff 100644 --- a/net/nfc/af_nfc.c +++ b/net/nfc/af_nfc.c @@ -79,7 +79,7 @@ int __init af_nfc_init(void) return sock_register(&nfc_sock_family_ops); } -void af_nfc_exit(void) +void __exit af_nfc_exit(void) { sock_unregister(PF_NFC); }