powerpc/mm/keys: Update documentation and remove unnecessary check
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 7 Mar 2018 13:36:45 +0000 (19:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Apr 2018 05:23:09 +0000 (15:23 +1000)
commitf2ed480fa4d7f95b190279722690df8d4a396b3e
tree74abb74702e3e68cfc46392cc2247d46833d03e8
parentb9ee31e100e73075431faaf7af2ee0fbfd6e624b
powerpc/mm/keys: Update documentation and remove unnecessary check

Adds more code comments. We also remove an unnecessary pkey check
after we check for pkey error in this patch.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c
arch/powerpc/mm/pkeys.c