From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756517AbbDVTck (ORCPT ); Wed, 22 Apr 2015 15:32:40 -0400 Received: from www.sr71.net ([198.145.64.142]:50206 "EHLO blackbird.sr71.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753883AbbDVTci (ORCPT ); Wed, 22 Apr 2015 15:32:38 -0400 Message-ID: <5537F754.2020909@sr71.net> Date: Wed, 22 Apr 2015 12:32:36 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "Yu, Fenghua" , "linux-kernel@vger.kernel.org" CC: "x86@kernel.org" , "tglx@linutronix.de" , "dave.hansen@linux.intel.com" , "oleg@redhat.com" , "bp@alien8.de" , "riel@redhat.com" , "sbsiddha@gmail.com" , "luto@amacapital.net" , "mingo@redhat.com" , "hpa@zytor.com" Subject: Re: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr() References: <20150422182729.0512E57D@viggo.jf.intel.com> <20150422182732.91684156@viggo.jf.intel.com> <3E5A0FA7E9CA944F9D5414FEC6C712205C8CF797@ORSMSX106.amr.corp.intel.com> In-Reply-To: <3E5A0FA7E9CA944F9D5414FEC6C712205C8CF797@ORSMSX106.amr.corp.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.