]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: Introduce pr_info()
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 1 Mar 2023 20:41:32 +0000 (13:41 -0700)
committerJes Sorensen <jes@trained-monkey.org>
Mon, 13 Mar 2023 14:08:10 +0000 (10:08 -0400)
commit9364dbfb264e89ab9467dfc0d2b813033e320640
tree0a1e0646af0758d39c51dcf01010cf4956500971
parent8a4ce2c053866ac97feb436c4c85a54446ee0016
mdadm: Introduce pr_info()

Feedback was given to avoid informational pr_err() calls that print
to stderr, even though that's done all through out the code.

Using printf() directly doesn't maintain the same format (an "mdadm"
prefix on every line.

So introduce pr_info() which prints to stdout with the same format
and use it for a couple informational pr_err() calls in Create().

Future work can make this call used in more cases.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Kinga Tanska <kinga.tanska@linux.intel.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Acked-by: Coly Li <colyli@suse.de>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Create.c
mdadm.h