Re: [PATCH v6 3/9] block: blk-crypto for Inline Encryption

Eric Biggers
2020-01-14T21:22:45Z

On Wed, Dec 18, 2019 at 06:51:30AM -0800, Satya Tangirala wrote:
> +static inline int blk_crypto_fallback_submit_bio(struct bio **bio_ptr)
> +{
> + pr_warn_once("blk-crypto crypto API fallback disabled; failing request");
> + (*bio_ptr)->bi_status = BLK_STS_NOTSUPP;
> + return -EIO;
> +}

There needs to be a "\n" at the end of this log message. Also, due to the
pr_fmt() in blk-crypto.c, this prints as:

blk-crypto: blk-crypto crypto API fallback disabled; failing request

... so the second "blk-crypto" is redundant.

- Eric