]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - Change type of pasid to u32
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 25 Jun 2020 20:07:12 +0000 (13:07 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Jul 2020 04:18:35 +0000 (14:18 +1000)
commit2ed1b02467aec27947d7089ec1a9212c999f93c6
tree924069bec004b031df4edbadf731f231128ad1d7
parent64654a5b2bf6b7946a3f4bfba1d0ed22dae860cb
crypto: hisilicon/qm - Change type of pasid to u32

PASID is defined as "int" although it's a 20-bit value and shouldn't be
negative int. To be consistent with PASID type in iommu, define PASID
as "u32".

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c