Message ID | 1468833260-5305-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 28304607FF for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Jul 2016 09:16:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18385228C8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Jul 2016 09:16:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0ADA9263DC; Mon, 18 Jul 2016 09:16:40 +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 97D25228C8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 18 Jul 2016 09:16:39 +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 1bP4dh-0000NQ-FY; Mon, 18 Jul 2016 09:15:01 +0000 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bP4dX-0000IT-0d for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2016 09:14:53 +0000 Received: by mail-pa0-x236.google.com with SMTP id pp5so52183139pac.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 18 Jul 2016 02:14:30 -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=SObHsYdQ7PHNU3D6uh07o6TUlTkKAZ+bXAp9PHjidsQ2s83jqhtWSc4lK4UbWWE/wj uGtk4m+wDKgMDOfcfkxHQtCpClx+7kT8QnRArRcheetrU2HXkFDKpt0wDJ3PdMNe7pIO AIKkZrw/JDokG1WCi/941QAs/a5uMKbMNE8ds= 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=d1cuMffOvBiGsjJBQziM436ccGhUpsyNeqEmGx88bCAj4vaiigolREIy0+GC/Gg+AG +De4p7nPRq9gMPcPgud03qkWxfP3/OEM1RJTOIjCFxVaL0wHjOeOvCXhJbRJ2mZO3v58 anmajRdACS3FuKtV/J+aLE1rU3r9qmtiPi13eHXKzrUhtOS8oXaY3xoaRR/aieRaRw8y 86Kh/ZE58niEpzycnxtvQMBg6UZ233MyhY8IP3E0YcYK2ouSrwdk2l+2vq7YbNXeiOfK naSKbklQ3FplyC8bxXTDZJ5/mcccK4S2dpr7MweaH3ErfGeSKeFkwW9PuHeWVEXmBOTe +3xg== X-Gm-Message-State: ALyK8tLmg22WOqg1ITE0kMe+DcAXK6bu/uLyZzvOYO3rywEdokJx9nXmEIop9C+/IlWgExOx X-Received: by 10.66.158.104 with SMTP id wt8mr14135701pab.64.1468833269975; Mon, 18 Jul 2016 02:14:29 -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 z1sm2883269pab.19.2016.07.18.02.14.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 02:14:29 -0700 (PDT) From: Anup Patel <anup.patel@broadcom.com> To: "Hans J. Koch" <hjk@hansjkoch.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jonathan Corbet <corbet@lwn.net> Subject: [PATCH v2 1/8] uio: fix dmem_region_start computation Date: Mon, 18 Jul 2016 14:44:13 +0530 Message-Id: <1468833260-5305-2-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468833260-5305-1-git-send-email-anup.patel@broadcom.com> References: <1468833260-5305-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160718_021451_261041_81DE5FF3 X-CRM114-Status: GOOD ( 12.89 ) 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) {