Re: [PATCH] scsi: Shorten too long warning messages

From: Bart Van Assche
Date: Thu Jun 30 2022 - 12:05:56 EST


On 6/29/22 19:38, lizhijian@xxxxxxxxxxx wrote:
sdev_printk will only accept messages less than 128 bytes. So shorten
the messages exceeding 128 bytes avoid getting a 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

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>