[PATCH v14 06/22] selftests/vm: typecast the pkey register

Dave Hansen dave.hansen at intel.com
Thu Jul 19 01:32:10 AEST 2018


On 07/17/2018 06:49 AM, Ram Pai wrote:
> This is in preparation to accomadate a differing size register
> across architectures.

This is pretty fugly, and reading it again, I wonder whether we should
have just made it 64-bit, at least in all the printk's.  Or even

	prink("pk reg: %*llx\n", PKEY_FMT_LEN, pkey_reg);

But, I don't _really_ care in the end.

Acked-by: Dave Hansen <dave.hansen at intel.com>


More information about the Linuxppc-dev mailing list