ata: libata-scsi: rework ata_dump_status to avoid using pr_cont()
authorHannes Reinecke <hare@suse.de>
Tue, 21 Dec 2021 07:21:28 +0000 (08:21 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 5 Jan 2022 10:33:03 +0000 (19:33 +0900)
commit41d4c60f8623d8a42f649376f678e27d802b8163
tree4a9980eba0826a5d61d5b275215552b97b62c02a
parentcbc59b8c20863cca43b8b9552cf409a2c8d1be7a
ata: libata-scsi: rework ata_dump_status to avoid using pr_cont()

pr_cont() has the problem that individual calls will be disrupted
under high load, causing each call to end up on a single line and
thereby mangling the output.
So rework ata_dump_status() to have just one call to ata_port_warn()
and avoid this problem.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-scsi.c