diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-02-14 14:14:05 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-22 15:16:38 +0100 |
commit | a8bc22f35c347d81aa6108cc9b19ccc05560e3a9 (patch) | |
tree | e79b99932cb4852217736eb4e8c4b13712402861 /drivers/crypto/chelsio/chcr_crypto.h | |
parent | crypto: sahara - Delete an error message for a failed memory allocation in sa... (diff) | |
download | linux-a8bc22f35c347d81aa6108cc9b19ccc05560e3a9.tar.xz linux-a8bc22f35c347d81aa6108cc9b19ccc05560e3a9.zip |
crypto: sahara - Improve a size determination in sahara_probe()
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio/chcr_crypto.h')
0 files changed, 0 insertions, 0 deletions