X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=block%2Fblk-crypto-fallback.c;h=ad9844c5b40cb8f491ff9f6647d1f67af007a39e;hb=d04561f884528e61e83c6790d6a3dbdfe09e15a4;hp=621abd1b0e4d329655b2ea276bed7005e93522ef;hpb=805ada63ba0567b15d10d40419bcc5e6f0b461e6;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/block/blk-crypto-fallback.c b/block/blk-crypto-fallback.c index 621abd1..ad9844c 100644 --- a/block/blk-crypto-fallback.c +++ b/block/blk-crypto-fallback.c @@ -539,7 +539,7 @@ static int blk_crypto_fallback_init(void) if (blk_crypto_fallback_inited) return 0; - prandom_bytes(blank_key, BLK_CRYPTO_MAX_KEY_SIZE); + get_random_bytes(blank_key, BLK_CRYPTO_MAX_KEY_SIZE); err = bioset_init(&crypto_bio_split, 64, 0, 0); if (err)