From: Clemens Ladisch Date: Sun, 30 Oct 2005 23:03:37 +0000 (-0800) Subject: [PATCH] hpet: fix HPET_INFO calls from kernel space X-Git-Tag: v2.6.15-rc1~59^2~15^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e8505be9c0ba608cbd634faa8fba361f17d2512;p=pandora-kernel.git [PATCH] hpet: fix HPET_INFO calls from kernel space Fix a wrong memory access in hpet_ioctl_common(). It was not possible to use the HPET_INFO ioctl from kernel space because it always called copy_to_user(). Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed