Message ID | 20200619161621.644540-21-seth.forshee@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49pP8m5Vq3zB3th; Sat, 20 Jun 2020 02:17:28 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1jmJhi-0002pM-9z; Fri, 19 Jun 2020 16:17:22 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <seth.forshee@canonical.com>) id 1jmJhD-0002Mq-R3 for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:16:52 +0000 Received: from mail-io1-f72.google.com ([209.85.166.72]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <seth.forshee@canonical.com>) id 1jmJhB-0003bG-5r for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:16:49 +0000 Received: by mail-io1-f72.google.com with SMTP id c5so7092935iok.18 for <kernel-team@lists.ubuntu.com>; Fri, 19 Jun 2020 09:16:49 -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=LOz31QKtwpZHTHIZ41bGny0068Zy9Jo/VOjVe5Ks4zQ=; b=gyeVRe/JwEvlrWa36lq/+rv7keKj0WlorlZYar3xngwVI6f5W9HHZZumY5vG69OAXv jL43ZU7p7ynurQYGE29R8wDMXEpeSP2DH6VkhKyoeRwnveKPZ4Vu7iFcGE+UIMiJphHp BEEWQmG38nx2XBhzmEuYzFfRr1RGxEs1cs5Sn7mTS/teaciJ4zkgzephIiJrPVMQmahV gy2wj59ysNrU/+nHORonoa7tV8GTB84NXJXI6yGzpy0eYFzMzGqqYRTjNXyuPE1N2us+ N2TI2qwxhf8gTtYB62Z0K4345JMOwgJAwGbYUiF6EH2Oa/sBTLwOSnlWDnSaGy72EEPr ZifA== X-Gm-Message-State: AOAM532BagSuha3CyC9Eb7akrkqojJ5ahSUKb1/OeiCEwuLhXsbLGBNZ OsuCgAXrKydd51fV7rwyiUUqOaNQogIlnozjQN04nQQRR7yr+PKdG1OdHk1dUMC4HRwlBelMXnU ERyktMcr/MdG0mTFJpbVsgsUrs/W8pxlWdvIYgzbWOA== X-Received: by 2002:a05:6602:2c8b:: with SMTP id i11mr5093254iow.139.1592583408076; Fri, 19 Jun 2020 09:16:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNiStytX1XkxCTMrOKl/NQBjoF2Cb8fyl873yQqt4nGJbw4ZU3X1HgNcGeFam+rOfE49bvQA== X-Received: by 2002:a05:6602:2c8b:: with SMTP id i11mr5093234iow.139.1592583407827; Fri, 19 Jun 2020 09:16:47 -0700 (PDT) Received: from localhost ([2605:a601:ac0f:820:f090:1573:c2fc:6389]) by smtp.gmail.com with ESMTPSA id x18sm3293405ilq.46.2020.06.19.09.16.47 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 09:16:47 -0700 (PDT) From: Seth Forshee <seth.forshee@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 20/57][B] Annotate hardware config module parameters in drivers/net/appletalk/ Date: Fri, 19 Jun 2020 11:15:44 -0500 Message-Id: <20200619161621.644540-21-seth.forshee@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619161621.644540-1-seth.forshee@canonical.com> References: <20200619161621.644540-1-seth.forshee@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Lockdown updates
|
expand
|
diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index 7f2a032c354c..f50e87944f2e 100644 --- a/drivers/net/appletalk/cops.c +++ b/drivers/net/appletalk/cops.c @@ -986,9 +986,9 @@ static int cops_close(struct net_device *dev) static struct net_device *cops_dev; MODULE_LICENSE("GPL"); -module_param(io, int, 0); -module_param(irq, int, 0); -module_param(board_type, int, 0); +module_param_hw(io, int, ioport, 0); +module_param_hw(irq, int, irq, 0); +module_param_hw(board_type, int, other, 0); static int __init cops_module_init(void) { diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c index 01e2ac55c137..ac755d2950a6 100644 --- a/drivers/net/appletalk/ltpc.c +++ b/drivers/net/appletalk/ltpc.c @@ -1231,9 +1231,9 @@ static struct net_device *dev_ltpc; MODULE_LICENSE("GPL"); module_param(debug, int, 0); -module_param(io, int, 0); -module_param(irq, int, 0); -module_param(dma, int, 0); +module_param_hw(io, int, ioport, 0); +module_param_hw(irq, int, irq, 0); +module_param_hw(dma, int, dma, 0); static int __init ltpc_module_init(void)