Message ID | 1470635557-13416-2-git-send-email-anup.patel@broadcom.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A755760839 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Aug 2016 05:55:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97C2B26E69 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Aug 2016 05:55:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C10627813; Mon, 8 Aug 2016 05:55:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3BD6826E69 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Aug 2016 05:55:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWdVR-0000hh-E8; Mon, 08 Aug 2016 05:53:45 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWdVA-0000cV-GA for linux-arm-kernel@lists.infradead.org; Mon, 08 Aug 2016 05:53:29 +0000 Received: by mail-pf0-x229.google.com with SMTP id y134so115700688pfg.0 for <linux-arm-kernel@lists.infradead.org>; Sun, 07 Aug 2016 22:53:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=S5ZXfNs8wmIiQ1fVOidD4ZjViaAV2eKXd0tmX50AByA=; b=E39zyQMOyKe0REbHQ3BDINq+nf6tNKjead4HSXSjwY6AoDdQzsZOChX/nyuDofsraA 9pgVTrrLLI1zXeG0i0bUiQWvovh6uo9x94MhHlexsUVsU1yvwFZ/Pb0wmsXL5ei7Kyq9 d6ujBJ05PB5YOYSFgIwetmaUpGfJgMRecZEQA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=S5ZXfNs8wmIiQ1fVOidD4ZjViaAV2eKXd0tmX50AByA=; b=Pcin6YNJbpOzMRGlrST0Fea+C0f+8c/XiWytExUTz+x3UrRBKuDczFEsxMbCPSlaiD xUyDVT7TsHfSr1zFQfyJeDnlPYgFWti47vLooFZfeXeqGtB3BiBYCtxk1N4VKYDwe8xF spcVgPrtEDGHnVD1v4yxOzGG7qcrbnoO//3gyPGippmGOOEtUPQIwxdvvbAx1pm9E+LK gidSZt/xyIwHXuYxVpigYoQXxxGc+cV4MdwMbkkGpGMpGu271A7YNy38CZpdEJTx5YlX XWOkBKyxAhHF9q4jtZu6AqMq0RKDXgEsgnaGFL3cBpWJpyLCVoeapbrbQpu5NxvroRVC 4Qdg== X-Gm-Message-State: AEkooutslBCDqEQ+4HPVmT0db8fsX8F/ln2MxIhYgt4EzgNtxPHYFNkzPifMCiNAZdwK/I3K X-Received: by 10.98.72.28 with SMTP id v28mr158905610pfa.139.1470635587412; Sun, 07 Aug 2016 22:53:07 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.ban.broadcom.com ([202.140.56.34]) by smtp.gmail.com with ESMTPSA id u72sm44404402pfa.31.2016.08.07.22.52.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Aug 2016 22:53:06 -0700 (PDT) From: Anup Patel <anup.patel@broadcom.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jonathan Corbet <corbet@lwn.net> Subject: [PATCH RESEND v2 1/8] uio: fix dmem_region_start computation Date: Mon, 8 Aug 2016 11:22:30 +0530 Message-Id: <1470635557-13416-2-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470635557-13416-1-git-send-email-anup.patel@broadcom.com> References: <1470635557-13416-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160807_225328_626399_56E0E154 X-CRM114-Status: GOOD ( 12.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, Anup Patel <anup.patel@broadcom.com>, Scott Branden <sbranden@broadcom.com>, linux-doc@vger.kernel.org, Ray Jui <rjui@broadcom.com>, Russell King - ARM Linux <linux@armlinux.org.uk>, linux-stable <stable@vger.kernel.org>, linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, bcm-kernel-feedback-list@broadcom.com, Ankit Jindal <thatsjindal@gmail.com>, linux-arm-kernel@lists.infradead.org, Jan Viktorin <viktorin@rehivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/uio/uio_dmem_genirq.c b/drivers/uio/uio_dmem_genirq.c index 915facb..e1134a4 100644 --- a/drivers/uio/uio_dmem_genirq.c +++ b/drivers/uio/uio_dmem_genirq.c @@ -229,7 +229,7 @@ static int uio_dmem_genirq_probe(struct platform_device *pdev) ++uiomem; } - priv->dmem_region_start = i; + priv->dmem_region_start = uiomem - &uioinfo->mem[0]; priv->num_dmem_regions = pdata->num_dynamic_regions; for (i = 0; i < pdata->num_dynamic_regions; ++i) {