From 14ca3d5095c390f2f1d9a4c7c533bc2177195d3d Mon Sep 17 00:00:00 2001 From: axel lin Date: Fri, 14 Jan 2011 09:39:11 +0000 Subject: [PATCH] --- yaml --- r: 232363 b: refs/heads/master c: 0b7f1cc79d61427961e311c6a21f528bdb226e40 h: refs/heads/master i: 232361: c2df3387e46ab8acb8c39f042dc0342bbd731f07 232359: 6eb2309b47bcb573fdbf2f7683517775448126b9 v: v3 --- [refs] | 2 +- trunk/drivers/video/pxa3xx-gcu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index eae40a62b68a..42c827610585 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6c9571f4b759717e1c938cbc6b53ec8ce5813245 +refs/heads/master: 0b7f1cc79d61427961e311c6a21f528bdb226e40 diff --git a/trunk/drivers/video/pxa3xx-gcu.c b/trunk/drivers/video/pxa3xx-gcu.c index b81168df253d..cf4beb9dc9bb 100644 --- a/trunk/drivers/video/pxa3xx-gcu.c +++ b/trunk/drivers/video/pxa3xx-gcu.c @@ -1,5 +1,5 @@ /* - * pxa3xx-gc.c - Linux kernel module for PXA3xx graphics controllers + * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers * * This driver needs a DirectFB counterpart in user space, communication * is handled via mmap()ed memory areas and an ioctl. @@ -421,7 +421,7 @@ pxa3xx_gcu_misc_write(struct file *filp, const char *buff, buffer->next = priv->free; priv->free = buffer; spin_unlock_irqrestore(&priv->spinlock, flags); - return ret; + return -EFAULT; } buffer->length = words;