From patchwork Fri Jul 30 06:56:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12410513 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 E5606C4320E for ; Fri, 30 Jul 2021 06:57:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE0D860F6B for ; Fri, 30 Jul 2021 06:57:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237702AbhG3G5I (ORCPT ); Fri, 30 Jul 2021 02:57:08 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:55320 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237767AbhG3G5E (ORCPT ); Fri, 30 Jul 2021 02:57:04 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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-1.canonical.com (Postfix) with ESMTPS id E717F3F228 for ; Fri, 30 Jul 2021 06:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627628219; bh=VTZKLd4Cikiu9JLg7PgN5ojxKk/zgZVaneS8eoEANNg=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=blv0rcEmGWek80qxxIg+997a1WkFwDwK7d2eVUedS18yUdyUkDpTcSCImUanqfGic VB3ny/z1bleHHFMgZMiZtAzsH6juzBjVwOYmnD8TeyXWzUp86Zu3+oSUZ1V6nJhty0 BOsxvQD4zKGHrYur7YDHvWcJHEgqLfwoymdyGMcUWwRv9tFBjyo8m316mAjd34RhJB a/sB7nPRA3yPDgGO5jBtLuHqWmjz++7lxclAEAmnErv/OPR8ogIp6vhyi6YPNTtrLC 9pbzQwidCYgq+Yp1M5uLbIYampqdsdTSRvgjtsox1rNvRYjrfREe1CZBnuN8cabNbF 488CCD7OA0oHw== Received: by mail-ed1-f70.google.com with SMTP id j22-20020a50ed160000b02903ab03a06e86so4131250eds.14 for ; Thu, 29 Jul 2021 23:56:59 -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=VTZKLd4Cikiu9JLg7PgN5ojxKk/zgZVaneS8eoEANNg=; b=Deax0QTv6v1RQR8mG3dThEe9l6lzfvdnvh3MVbytUshBP+ebO+iHeSI3UKJP0Q6jLU 3RanReZqs0r+TgqxnwGXWOtnMpd6pXAD4rwfR8yyxcHFxqXPPCvcGaUe8szXFD7TYzkw yiX2oN0rEL7JtYD6E1ZW70VjE4C8cbIyXT0c+eTSOebxH32KBGltGQz39WE7bMqnWqbJ CZfSdFuYWb1xqxEFM7EWfbXG4atBPXucNsG+ouU5a+2fZdpiE8hFQL8sXJptWj6V//Jo c9uqPbOMIhEIyPAwLmtgO1cgUfqigkhMVoHME3agz9G8sFfk3yqXSNWQdvJ0SzDBfya5 EvxA== X-Gm-Message-State: AOAM5306VXw3GKDFvgm1BconmhwRQsfQcWtK7+PPqyejt0ZAySlwUlab ex8FzhCz5NCjOzPxFph5AxRdmp0FieCa5AN357cgChEjOusDE87PBt/XCKOAbi8EZPUVCh+VkBa uelroLyfmCSue21ofMd9nwyvQaJkDW/jHLQ== X-Received: by 2002:a17:906:b0c5:: with SMTP id bk5mr1155705ejb.428.1627628219716; Thu, 29 Jul 2021 23:56:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylZ3S3p6DxsgjZ/9cTB22EdT6oJK/+hQyLCw8aJEthyQhQ6wGtvZ2CpjES4B9CXlBatvmOMg== X-Received: by 2002:a17:906:b0c5:: with SMTP id bk5mr1155697ejb.428.1627628219574; Thu, 29 Jul 2021 23:56:59 -0700 (PDT) Received: from localhost.localdomain ([86.32.47.9]) by smtp.gmail.com with ESMTPSA id m9sm238518ejn.91.2021.07.29.23.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 23:56:59 -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 v2 3/8] nfc: hci: annotate nfc_llc_init() as __init Date: Fri, 30 Jul 2021 08:56:20 +0200 Message-Id: <20210730065625.34010-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210730065625.34010-1-krzysztof.kozlowski@canonical.com> References: <20210730065625.34010-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 nfc_llc_init() is used only in other __init annotated context. Signed-off-by: Krzysztof Kozlowski --- net/nfc/hci/llc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/hci/llc.c b/net/nfc/hci/llc.c index fc6b63de3462..2140f6724644 100644 --- a/net/nfc/hci/llc.c +++ b/net/nfc/hci/llc.c @@ -11,7 +11,7 @@ static LIST_HEAD(llc_engines); -int nfc_llc_init(void) +int __init nfc_llc_init(void) { int r;