Re: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr()

From: Dave Hansen
Date: Wed Apr 22 2015 - 15:32:43 EST


On 04/22/2015 12:18 PM, Yu, Fenghua wrote:
>> > @@ -498,12 +497,12 @@ out_unmap:
>> > * bound table is 16KB. With 64-bit mode, the size of BD is 2GB,
>> > * and the size of each bound table is 4MB.
>> > */
>> > -static int do_mpx_bt_fault(struct xsave_struct *xsave_buf)
>> > +static int do_mpx_bt_fault(struct task_struct *tsk)
> Do you need the parameter "tsk"? It's not used in this function.
> Seems this function doesn't need to take any parameter.

See the last patch in the series, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/