Message ID | 20200619161621.644540-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 49pP870ZVfz9t79; Sat, 20 Jun 2020 02:16:55 +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 1jmJhA-0002LY-EC; Fri, 19 Jun 2020 16:16:48 +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 1jmJh0-0002CQ-OY for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:16:38 +0000 Received: from mail-il1-f197.google.com ([209.85.166.197]) 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 1jmJgz-0003a9-2H for kernel-team@lists.ubuntu.com; Fri, 19 Jun 2020 16:16:37 +0000 Received: by mail-il1-f197.google.com with SMTP id a4so6822069ilq.2 for <kernel-team@lists.ubuntu.com>; Fri, 19 Jun 2020 09:16: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=w2J9bq1jc2+eFfA0FNWUc5i8SCn0Cg7uiLuKmEbT3so=; b=PxD6X/uR/i2H0XWoyQQmQhFwqteXxKpA+3AcNEiz/Xz0jLJo0csWk6CNWfjjtCJhbx FONIZce36T9PB3NAP3x467w6OfowtNqGNznVJiJq6cgmOtYgPta/LY8lF6OBXH/x9ViV HbGOgvC8KUJ8CftlIWcBLDtrw8vy62S3QtkuUpoq58wbJZhnvUF28W59NZzLF8u1JZX9 Qy2HeltE6yuzTl1SG+cdXQY+BjxDHNO0Ng2N2dicMrWVuhe9p5XRsb6kJ56eiJJSKl4A tClJJG0XJCCoTFqIxklRIXoqE4p4V/+fLOZhochSrhUl+1Vuh0GBmrghPYb7SyWzBfK+ a1Cg== X-Gm-Message-State: AOAM530p125jPDwqSUqEOxNzGN+6FHTYhMX/qaQ38D5ozRZjCdVtdLCl i835HiTLZ7ftbs/yhfTSsSU/KkVHLd4Tta9Hl579/qW6tLKQNviRfhxVxpD/qEMhKIiUS2QArFW D0jMEFtmwNtQ8IgAShHMlksfCSkhYzJ7baSjnC2yQng== X-Received: by 2002:a05:6602:25d3:: with SMTP id d19mr5250677iop.15.1592583395866; Fri, 19 Jun 2020 09:16:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt00lTz1oOH2woafRya9Ov3R6nRCBDHRCUV4bONO8mj48z/Q/l8Cqbn742iD3jAqM1/B4+dw== X-Received: by 2002:a05:6602:25d3:: with SMTP id d19mr5250656iop.15.1592583395598; Fri, 19 Jun 2020 09:16:35 -0700 (PDT) Received: from localhost ([2605:a601:ac0f:820:f090:1573:c2fc:6389]) by smtp.gmail.com with ESMTPSA id v2sm3606895iol.36.2020.06.19.09.16.34 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 09:16:35 -0700 (PDT) From: Seth Forshee <seth.forshee@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 10/57][B] Annotate hardware config module parameters in drivers/char/ Date: Fri, 19 Jun 2020 11:15:34 -0500 Message-Id: <20200619161621.644540-11-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/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 */