On 09/11/2014 01:46 AM, Qiaowei Ren wrote:> +> + return (void __user *)(unsigned long)(xsave_buf->bndcsr.cfg_reg_u &> + MPX_BNDCFG_ADDR_MASK);> +}I don't think casting a u64 to a ulong, then to a pointer is useful.Just take the '(unsigned long)' out.