From: Alan Cox Date: Wed, 23 Jan 2013 14:13:18 +0000 (+0000) Subject: goldfish: Add a FIXME note to the pipe driver X-Git-Tag: v3.9-rc1~127^2~321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17c4c9db4a33ae0a8dcfafab3dc59a83ccaf6076;p=platform%2Fupstream%2Fkernel-adaptation-pc.git goldfish: Add a FIXME note to the pipe driver Note a point in the pipe driver that wants future attention Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index 58dae1f..4f5aa831 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -300,6 +300,7 @@ static ssize_t goldfish_pipe_read_write(struct file *filp, char __user *buffer, int status, wakeBit; /* Ensure that the corresponding page is properly mapped */ + /* FIXME: this isn't safe or sufficient - use get_user_pages */ if (is_write) { char c; /* Ensure that the page is mapped and readable */