diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-09-04 23:17:29 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-09-15 13:29:45 +0300 |
commit | c977950146720abff14e46d8c53f5638b06a9182 (patch) | |
tree | 572a311b8a1bd92bf9e4b77a85e23e0f86b755c9 /drivers/char | |
parent | 8f4f68e788c3a7a696546291258bfa5fdb215523 (diff) | |
download | linux-c977950146720abff14e46d8c53f5638b06a9182.tar.xz |
crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
This error handling looks really strange.
Check if the string has been truncated instead.
Fixes: 02ab994635eb ("crypto: hisilicon - Fixed some tiny bugs of HPRE")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions