summaryrefslogtreecommitdiff
path: root/drivers/scsi/a3000.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2022-06-30 02:38:11 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-07 16:57:16 -0400
commita2417db3679cffa67fbdc6c175cf68ffc86b8ac3 (patch)
tree36993e9da013900c80c180e5fe92ba3e41a3d22d /drivers/scsi/a3000.c
parent34bd1dcacf0dd86ab8c35f703bc237723fee354c (diff)
downloadlwn-a2417db3679cffa67fbdc6c175cf68ffc86b8ac3.tar.gz
lwn-a2417db3679cffa67fbdc6c175cf68ffc86b8ac3.zip
scsi: core: Shorten long warning messages
sdev_printk() will only accept messages up to 128 bytes. Shorten strings exceeding 128 bytes avoid printing an incomplete sentence like: [ 475.156955] sd 9:0:0:0: Warning! Received an indication that the LUN assignments on this target have changed. The Linux SCSI layer does not automatical Link: https://lore.kernel.org/r/20220630024516.1571209-1-lizhijian@fujitsu.com Suggested-by: Finn Thain <fthain@linux-m68k.org> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/a3000.c')
0 files changed, 0 insertions, 0 deletions