Repository navigation
Commit 3f61b05
crypto: inside-secure - Use PTR_ERR_OR_ZERO() to simplify code
Fixes coccicheck warning:
drivers/crypto/inside-secure/safexcel_cipher.c:2534:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent e42617b commit 3f61b05
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
| 2535 | + | |
2539 | 2536 | | |
2540 | 2537 | | |
2541 | 2538 | | |
| |||
0 commit comments