]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: ccp - Clean up the LSB slot allocation code
authorGary R Hook <gary.hook@amd.com>
Tue, 18 Oct 2016 22:33:37 +0000 (17:33 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Oct 2016 03:08:23 +0000 (11:08 +0800)
commit103600ab966a2f02d8986bbfdf87b762b1c6a06d
tree35cca53e7805aaf34f5d4432cd53ea2def92f811
parentec9b70df75b3600ca20338198a43173f23e6bb9b
crypto: ccp - Clean up the LSB slot allocation code

Fix a few problems revealed by testing: verify consistent
units, especially in public slot allocation. Percolate
some common initialization code up to a common routine.
Add some comments.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev-v5.c
drivers/crypto/ccp/ccp-dev.c