diff options
| author | Mark Brown <broonie@kernel.org> | 2025-11-26 22:56:01 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-26 22:56:01 +0000 |
| commit | 5d0cad409099798462d8a46756be537730bd8a22 (patch) | |
| tree | 76b1d8dd3439e966e69a266144330ce8cfa9a124 /lib | |
| parent | 994a0b2eb605144871a85fac29a2c4bdbac07131 (diff) | |
| parent | 3a03de362975398b39d4c6df7325ccb982026a8f (diff) | |
ASoC: stm32: sai: fix device and OF node leaks on
Merge series from Johan Hovold <johan@kernel.org>:
This series fixes device and OF node reference leaks during probe and
a clock prepare imbalance on probe failures.
Included is a related cleanup of an error path.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/crypto/tests/sha256_kunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/tests/sha256_kunit.c b/lib/crypto/tests/sha256_kunit.c index dcedfca06df6..5dccdee79693 100644 --- a/lib/crypto/tests/sha256_kunit.c +++ b/lib/crypto/tests/sha256_kunit.c @@ -68,6 +68,7 @@ static void test_sha256_finup_2x(struct kunit *test) rand_bytes(data1_buf, max_data_len); rand_bytes(data2_buf, max_data_len); rand_bytes(salt, sizeof(salt)); + memset(ctx, 0, sizeof(*ctx)); for (size_t i = 0; i < 500; i++) { size_t salt_len = rand_length(sizeof(salt)); |