]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: mac_scsi: Revise printk(KERN_DEBUG ...) messages
authorFinn Thain <fthain@linux-m68k.org>
Wed, 7 Aug 2024 03:36:28 +0000 (13:36 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:49 +0000 (16:29 +0200)
commit6e8dc2050a4a701c4ce650ea7dab5d67f3c37820
tree8c11dd28e408d56b88046efddf7426f81f25bc66
parent09b06c2591fa8b024e2850de53137935e1ea0c47
scsi: mac_scsi: Revise printk(KERN_DEBUG ...) messages

commit 5ec4f820cb9766e4583df947150a6febce8da794 upstream.

After a bus fault, capture and log the chip registers immediately, if the
NDEBUG_PSEUDO_DMA macro is defined. Remove some printk(KERN_DEBUG ...)
messages that aren't needed any more.  Don't skip the debug message when
bytes == 0. Show all of the byte counters in the debug messages.

Cc: stable@vger.kernel.org # 5.15+
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/7573c79f4e488fc00af2b8a191e257ca945e0409.1723001788.git.fthain@linux-m68k.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/mac_scsi.c