]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-linux/uio-module-drv.git/commitdiff
uio-module-drv: Fix typo on error message
authorSam Nelson <sam.nelson@ti.com>
Mon, 13 Jun 2016 20:50:54 +0000 (16:50 -0400)
committerSam Nelson <sam.nelson@ti.com>
Mon, 13 Jun 2016 20:50:54 +0000 (16:50 -0400)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
uio_module_drv.c

index d9b8a2b42ba2369aac01624bc0443d00be6fa833..5a67dd199e218d6943d50c23735b48894270e4d5 100644 (file)
@@ -236,7 +236,7 @@ static ssize_t  uio_module_drv_transfer(struct file *file, char __user *buf,
        if (index == uio_module_drv->num_maps) {
                dev_err(uio_module_drv->dev,
                        "request address 0x%x is not in the allowed ranges\n",
-                       req_addr);
+                       phys_addr);
                return -EINVAL;
        }