Re: [RFC PATCH 6/6] pkeys: Change mm_pkey_free() to void

2022-06-13 Thread Ira Weiny
On Mon, Jun 13, 2022 at 09:17:06AM +, Christophe Leroy wrote: > > > Le 11/06/2022 à 01:35, ira.we...@intel.com a écrit : > > From: Ira Weiny > > > > Now that the pkey arch support is no longer checked in mm_pkey_free() > > there is no reason to have it return int. > > Right, I see this is

Re: [RFC PATCH 6/6] pkeys: Change mm_pkey_free() to void

2022-06-13 Thread Christophe Leroy
Le 11/06/2022 à 01:35, ira.we...@intel.com a écrit : > From: Ira Weiny > > Now that the pkey arch support is no longer checked in mm_pkey_free() > there is no reason to have it return int. Right, I see this is doing what I commented in previous patch. > > Change the return value to void. >

[RFC PATCH 6/6] pkeys: Change mm_pkey_free() to void

2022-06-10 Thread ira . weiny
From: Ira Weiny Now that the pkey arch support is no longer checked in mm_pkey_free() there is no reason to have it return int. Change the return value to void. Cc: Dave Hansen Cc: Aneesh Kumar K.V Suggested-by: Sohil Mehta Signed-off-by: Ira Weiny --- arch/powerpc/include/asm/pkeys.h | 4