Re: [PATCH 1/4] powerpc/mm: Clean up error handling for htab_remove_mapping

2016-02-10 Thread Aneesh Kumar K.V
David Gibson writes: > Currently, the only error that htab_remove_mapping() can report is -EINVAL, > if removal of bolted HPTEs isn't implemeted for this platform. We make > a few clean ups to the handling of this: > > * EINVAL isn't really the right code - there's nothing wrong with the >f

[PATCH 1/4] powerpc/mm: Clean up error handling for htab_remove_mapping

2016-02-08 Thread David Gibson
Currently, the only error that htab_remove_mapping() can report is -EINVAL, if removal of bolted HPTEs isn't implemeted for this platform. We make a few clean ups to the handling of this: * EINVAL isn't really the right code - there's nothing wrong with the function's arguments - use ENODEV i