diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2022-06-30 02:38:11 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-07 16:57:16 -0400 |
commit | a2417db3679cffa67fbdc6c175cf68ffc86b8ac3 (patch) | |
tree | 36993e9da013900c80c180e5fe92ba3e41a3d22d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 34bd1dcacf0dd86ab8c35f703bc237723fee354c (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions