Message ID | 20200619165010.645925-11-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 49pPvB5mKxzB4C8; Sat, 20 Jun 2020 02:50:46 +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 1jmKDv-0006zu-F9; Fri, 19 Jun 2020 16:50:39 +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 1jmKDi-0006p6-D6 for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:50:26 +0000 Received: from mail-io1-f70.google.com ([209.85.166.70]) 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 1jmKDh-0006KB-L2 for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:50:25 +0000 Received: by mail-io1-f70.google.com with SMTP id b3so4969679ion.17 for <kernel-team@lists.ubuntu.com>; Fri, 19 Jun 2020 09:50:25 -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=w2J9bq1jc2+eFfA0FNWUc5i8SCn0Cg7uiLuKmEbT3so=; b=KABFTsEN49uglCkg+pliXIT1YjxhJemRqJPxGMT3z02egMEOyhWMIxKasPEt2CnC2K SD6qDbnbe/Hlsf3bbMfyxHYwmrbzAfgpUNf1GoEkrYuLPP2a0CCj5mK4e8kfLUP+fTt8 xaXyAiBO/5hY/INA328WKA4gyzsZmWMLrn7mlKz3hNBiZFtFuSBbS87f+GPHfmtGNQGU IDmvfFYmIiS9olDWhe8YVJulU9PP0hUBkaWMX0yPuBJavQgSmLjyoKlxPY0HpTFGCg26 fzdrm7heiI2W36YxkBJHM9VFBE9gQdPg3awRGfuWzZHeVCS2o2fynFE5qyOcoSULCF8T 9JsQ== X-Gm-Message-State: AOAM533RyFGL/ywRosA8TeJkhlWGM2YSTmQvfWdidqII1dpWLmLWDPl3 WOtf5AehXRQLdXvUXwNoxgUZJTLswMmmf48kvu7QB0ehwcn2d56P4SLLfySPDrSl4Qout1nYVfX yGUEkW/4hdD+wP3gpV1GuC2zkO+7bcpJSMuif6zYbpQ== X-Received: by 2002:a05:6638:216f:: with SMTP id p15mr4685530jak.86.1592585424512; Fri, 19 Jun 2020 09:50:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy74D4zH+LotId9bwEltp1ZhdHZWVv9F7wBzPOSu2n2Z0RV3jIbeLJBlK46dSZKWIx21XCuhA== X-Received: by 2002:a05:6638:216f:: with SMTP id p15mr4685509jak.86.1592585424192; Fri, 19 Jun 2020 09:50:24 -0700 (PDT) Received: from localhost ([2605:a601:ac0f:820:f090:1573:c2fc:6389]) by smtp.gmail.com with ESMTPSA id c8sm1890345ile.2.2020.06.19.09.50.23 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 09:50:23 -0700 (PDT) From: Seth Forshee <seth.forshee@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 10/57][X] Annotate hardware config module parameters in drivers/char/ Date: Fri, 19 Jun 2020 11:49:23 -0500 Message-Id: <20200619165010.645925-11-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/char/applicom.c b/drivers/char/applicom.c index 9fcd51095d13..aeb0b876bb19 100644 --- a/drivers/char/applicom.c +++ b/drivers/char/applicom.c @@ -95,9 +95,9 @@ static struct applicom_board { static unsigned int irq = 0; /* interrupt number IRQ */ static unsigned long mem = 0; /* physical segment of board */ -module_param(irq, uint, 0); +module_param_hw(irq, uint, irq, 0); MODULE_PARM_DESC(irq, "IRQ of the Applicom board"); -module_param(mem, ulong, 0); +module_param_hw(mem, ulong, iomem, 0); MODULE_PARM_DESC(mem, "Shared Memory Address of Applicom board"); static unsigned int numboards; /* number of installed boards */