From: Oleg Nesterov Date: Fri, 15 Jun 2012 15:43:59 +0000 (+0200) Subject: uprobes: __copy_insn() needs "loff_t offset" X-Git-Tag: v3.6-rc1~167^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=593609a59600c8377f311b300f14deacb155b9a4;p=pandora-kernel.git uprobes: __copy_insn() needs "loff_t offset" 1. __copy_insn() needs "loff_t offset", not "unsigned long", to read the file. 2. use pgoff_t for "idx" and remove the unnecessary typecast. 3. fix the typo, "&=" is not what we want 4. can't resist, rename off1 to off. Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju Acked-by: Ananth N Mavinakayanahalli Cc: Anton Arapov Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20120615154359.GA9625@redhat.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed