]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc3b81d821288119ab65114498f176a39e1c3a89
tree4a9980eba0826a5d61d5b275215552b97b62c02a
parentef99707b1900a55d4a8fa20e78b8c99ff16e07b5
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