Message ID | 20200619165010.645925-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 49pPvg3rDwzB4CL; Sat, 20 Jun 2020 02:51:11 +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 1jmKEL-0007Jd-Sp; Fri, 19 Jun 2020 16:51:05 +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 1jmKDv-0006yt-KK for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:50:39 +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 1jmKDt-0006LT-KO for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:50:37 +0000 Received: by mail-io1-f72.google.com with SMTP id x2so7232975iof.0 for <kernel-team@lists.ubuntu.com>; Fri, 19 Jun 2020 09:50:37 -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=ckSQdTsdaaywZy+TLz+KZZ6L3aGQgED514vo7OEKg4MK1UJI1XhmiG8DBbijV/0HM7 67PKfiMdf+FoBfRSvY7TD+R0njK5gkQtGDT1ITQV66BYC/5Q20gHM52zEKAPAoWcIL7c fnx/KOEt5Q4wWH8MUK9VlQz0YDbo7+nVnaf3TsVnKn68md30f5Um9ouMExGYRMzSqbcu VtwLtk1k8K44R+8Sz7y1GSOcWP42EaJlFX7DtGJQTm1cmEa+x4o1JkEkt4FElNua3LLv 8Cn1bkzOI/QjQo/euySKxk9bZOnnj8Fb1eIe+kvyfz55qaOVjUV2BLxEK8wWEzw2WA16 CznQ== X-Gm-Message-State: AOAM5316AdTEDmLFwNYeBYpV1grXn/SReVhYIg99+4+9TyK88Kt0ALPd cX7uqx3/O8MQfnNQc2naZt415HuJTZNTTvXfYdL/8ry8PNGZy9jMuJS4t/d4TYC0zbf5JLE8uOK TE/h8Kia4bc4RZGZeqHaCI4HPXONNR+LLDIJUGaQi9A== X-Received: by 2002:a05:6e02:13f4:: with SMTP id w20mr4582372ilj.294.1592585436541; Fri, 19 Jun 2020 09:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1tFl6WJeL0Jp3YqVmyTMGetPea4A3kEnn8ciu5xVhXaPK9Ud7ZeGKq/4ciObvh0JHqlzWAQ== X-Received: by 2002:a05:6e02:13f4:: with SMTP id w20mr4582359ilj.294.1592585436240; Fri, 19 Jun 2020 09:50:36 -0700 (PDT) Received: from localhost ([2605:a601:ac0f:820:f090:1573:c2fc:6389]) by smtp.gmail.com with ESMTPSA id x10sm3496317ile.34.2020.06.19.09.50.35 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 09:50:35 -0700 (PDT) From: Seth Forshee <seth.forshee@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 20/57][X] Annotate hardware config module parameters in drivers/net/appletalk/ Date: Fri, 19 Jun 2020 11:49:33 -0500 Message-Id: <20200619165010.645925-21-seth.forshee@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619165010.645925-1-seth.forshee@canonical.com> References: <20200619165010.645925-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)