From: Jens Axboe <axboe@kernel.dk>
To: Satya Tangirala <satyat@google.com>,
linux-block@vger.kernel.org, kernel-team@meta.com,
ebiggers@kernel.org,
Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH v5] blk-crypto: dynamically allocate fallback profile
Date: Thu, 17 Aug 2023 19:17:07 -0600 [thread overview]
Message-ID: <169232142755.701491.1403250038127170415.b4-ty@kernel.dk> (raw)
In-Reply-To: <20230817141615.15387-1-sweettea-kernel@dorminy.me>
On Thu, 17 Aug 2023 10:15:56 -0400, Sweet Tea Dorminy wrote:
> blk_crypto_profile_init() calls lockdep_register_key(), which warns and
> does not register if the provided memory is a static object.
> blk-crypto-fallback currently has a static blk_crypto_profile and calls
> blk_crypto_profile_init() thereupon, resulting in the warning and
> failure to register.
>
> Fortunately it is simple enough to use a dynamically allocated profile
> and make lockdep function correctly.
>
> [...]
Applied, thanks!
[1/1] blk-crypto: dynamically allocate fallback profile
commit: cc7de17e2fe6b778a836032e7e5f9991dec40a25
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2023-08-18 1:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 14:15 [PATCH v5] blk-crypto: dynamically allocate fallback profile Sweet Tea Dorminy
2023-08-17 16:00 ` Eric Biggers
2023-08-18 1:17 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169232142755.701491.1403250038127170415.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=ebiggers@kernel.org \
--cc=kernel-team@meta.com \
--cc=linux-block@vger.kernel.org \
--cc=satyat@google.com \
--cc=stable@vger.kernel.org \
--cc=sweettea-kernel@dorminy.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox